Skip to content

obrasgovr

0.1.0Package record

Access the 'ObrasGov' Open Data API

0packages depend
604downloads / year
88.1%test coverage
13/13flavors OK

Overview

About

Provides a modern interface to the Brazilian federal government's 'ObrasGov' open data application programming interface (https://api-publica.obrasgov.gestao.gov.br). Retrieves data about public infrastructure projects, physical execution, contracts, commitments, geometries, feasibility studies, and project status histories. Results are returned as tidy tibbles with typed date columns, preserved nested relationships, pagination metadata, and optional multi-page collection.

Changes in 0.1.0

New API client

  • Renamed the package and repository to obrasgovr to avoid a name collision with an earlier GitHub package for the legacy ObrasGov API.
  • Rebuilt the package for the new ObrasGov open data API.
  • Added consistent snake_case functions for all eight public resources.
  • Added HTTP/2 over TLS negotiation, transient retries, request throttling and actionable API errors.
  • Added safe multi-page collection, typed date columns, pagination metadata and lossless nested relationships.
  • Added offline unit tests, optional live integration tests, vignettes, pkgdown configuration and continuous integration workflows.
  • Made English names canonical across the public interface and documentation, while retaining Portuguese compatibility aliases.
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
  • Added step-by-step vignettes for resource discovery, safe pagination, nested data normalization, multi-resource joins, and reproducible provenance.
  • Added a custom vector hex logo and a more polished, accessible pkgdown theme.
  • Updated the project author list.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-07-25
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 374 wordsVignettesYes · 3 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileYes · computed when R runs itWebsiteYes · pkgdown
Help pages
12 (1 internal)includes a package overview page
Examples that run
100%11 run in a plain check (8 of them under a condition)
Exported functions with examples
100%
Documented parameters
69%
Return-value docs
100%
Help pages citing references
0%

Downloads

604
CRAN downloads in the past year
Rank #23,547 · ~2/day · ~50/mo
Daily download trend is not available in this view yet.
18330 days
55390 days
6041 year
Compare downloads with other packages →
Also on14 r2u1 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-09-30
Responsiveness
not measured
PracticesBeta

15 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/strategicprojects/obrasgovr on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow

pkgdown site last built 2026-09-30

Coverage (1)
Coverage reporting
Show all practicesHide 4 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
Lint, format, editor (2)
lintrRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-07-16
    Named in .Rbuildignore: .claude, CLAUDE.local.md, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.local.md, CLAUDE.md
    Commits: at least 16 crediting it in the message
Models named in its commits
  • Claude Opus 4.813 commits · Jul 2026
  • Claude Opus 5.53 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing obrasgovr adds 18 packages (12 with compiled code, 6.6 MB of source tarballs). Heaviest: openssl 1.1 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 0.1.0Latest
    2026-07-24 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-24
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
52 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("obrasgovr")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for obrasgovr version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy