obrasgovr: Access the 'ObrasGov' Open Data API

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.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: cli, httr2 (≥ 1.2.2), purrr (≥ 1.0.0), rlang (≥ 1.1.0), tibble (≥ 3.2.0), utils
Suggests: covr, dplyr, knitr, rmarkdown, testthat (≥ 3.2.0), tidyr
Published: 2026-10-29
DOI: 10.32614/CRAN.package.obrasgovr
Author: André Leite ORCID iD [aut, cre], Marcos Wasiliew ORCID iD [aut], Hugo Vasconcelos ORCID iD [aut], Carlos Amorim ORCID iD [aut], Diogo Bezerra ORCID iD [aut], Júlia Nascimento Barreto ORCID iD [aut]
Maintainer: André Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/obrasgovr/issues
License: MIT + file LICENSE
URL: https://github.com/StrategicProjects/obrasgovr, https://strategicprojects.github.io/obrasgovr/, https://api-publica.obrasgov.gestao.gov.br/obras/docs
NeedsCompilation: no
Language: en-US
Citation: obrasgovr citation info
Materials: README, NEWS
CRAN checks: obrasgovr results

Documentation:

Reference manual: obrasgovr.html , obrasgovr.pdf
Vignettes: An end-to-end ObrasGov workflow (source, R code)
Introduction to obrasgovr (source, R code)
Pagination and nested data (source, R code)

Downloads:

Package source: obrasgovr_0.1.1.tar.gz
Windows binaries: r-devel: obrasgovr_0.1.0.zip, r-release: obrasgovr_0.1.0.zip, r-oldrel: obrasgovr_0.1.0.zip
macOS binaries: r-release (arm64): obrasgovr_0.1.0.tgz, r-oldrel (arm64): obrasgovr_0.1.0.tgz, r-release (x86_64): obrasgovr_0.1.0.tgz, r-oldrel (x86_64): obrasgovr_0.1.0.tgz
Old sources: obrasgovr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=obrasgovr to link to this page.