Skip to content

geobr

2.1.0Package record

Download Official Spatial Data Sets of Brazil

1packages dependsuggested by 3
59Kdownloads / year
92.5%test coverage
13/13flavors OK

Overview

About
Maintained by Rafael H. M. PereiraCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funders: ITpS - Instituto Todos pela Saúde and Ipea - Institue for Applied Economic Research

Easy access to official spatial data sets of Brazil. The package offers a wide range of spatial data sets available at various geographic scales and for various years with harmonized attributes, projection and fixed topology. All functions allow for seamless integration sf, DuckDB and Arrow.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-29
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMENoVignettesYes · 1 · evaluation depends on the environmentNEWSNoCitation fileNoWebsiteYes · pkgdown
Help pages
46 (9 internal)includes a package overview page
Examples that run
97%36 run in a plain check (36 of them under a condition) · 1 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

59K
CRAN downloads in the past year
Rank #1,541 · ~162/day · ~4.9K/mo
Daily download trend is not available in this view yet.
5.1K30 days
15.5K90 days
59K1 year
Compare downloads with other packages →
Also on278 r2u136 autocran86 c2d4u

Repository

ipea/geobr ↗Organization: ipea
965Stars
131Forks
16Open issues
1Open PRs
24Releases
4,825Commits
34Commit identities
rrstatspythonspatial-datageopackageshapefilesfgeopandas
4,825 commits · Last activity 2026-09-27 · +1.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
82%
Median days to close, 50 most recently updated closed issues
33
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-10-17 · 8712026-10-16 · 965
Earlier repositories
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/ipea/geobr on 2026-10-11.

Continuous integration (4)
GitHub ActionsR CMD check workflowTravis CI (config file)AppVeyor

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 (2)

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

pkgdown site last built 2026-09-20

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen 2026-05-21
    Commits: at least 7 crediting it in the message
  • Claude Codefirst seen 2026-08-31
    Seen in the repository: .claude, .claude/agents, .claude/skills, CLAUDE.md
    Commits: at least 2 crediting it in the message
From outside contributors
  • Cursor
    Pull requests: 5 from outside contributors, first on 2026-05-21, 5 from forks
Models named in its commits
  • Claude Fable 5.11 commit · Sep 2026
  • Claude Opus 51 commit · 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
24 external dependencies (excludes base and recommended)

Installing geobr adds 51 packages (37 with compiled code, 55 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, duckspatial 4.7 MB.

Depends (1)
R >= 4.4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (26)
Author, Maintainer since 1.0 (2019)
Author · added in 2.0.0
Contributor · added in 1.2
Contributor · added in 2.0.0
Contributor · added in 1.2
Contributor · added in 2.0.0
Contributor · added in 1.1
Show 14 more contributorsHide 14 contributors
Contributor · added in 1.1
Contributor · added in 1.6
Contributor · added in 2.0.0
Contributor · added in 2.0.0
Contributor · added in 2.0.0
Contributor · added in 1.8.2
Contributor
Contributor · added in 2.0.0
Contributor · added in 2.0.1
Contributor · added in 1.6
Contributor · added in 1.6.5
Contributor · added in 1.5
Contributor · added in 1.1
Listed in earlier versions (1)
Pedro R. Andrate
no longer listed · 1.1
Releases (22)

Pick two releases to compare their code metrics.

  • 2.1.0Latest
    record
    2026-09-20 · current release · diff ↗ ·
    added 1 export
    read_addresses
  • 2.0.1
    record
    2026-06-23 · diff ↗
  • 2.0.0
    record
    2026-05-20 · diff ↗ ·
    added 4 exports
    read_favela, read_polling_places, read_quilombola_land, remove_islands
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.9.1
    record
    2024-09-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.9.0
    record
    2024-04-18 · diff ↗
  • 1.8.2
    record
    2024-01-09 · diff ↗
  • 1.8.1
    record
    2023-09-21 · diff ↗
  • 1.8.0
    record
    2023-09-09 · diff ↗ ·
    added 1 export
    read_capitals
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-08-16
  • 1.7.0
    record
    2022-08-16 · diff ↗ ·
    removed 7 exports
    check_connection, download_gpkg, download_metadata, load_gpkg, select_data_type, select_metadata, select_year_input
  • R
    R 4.2.0 released · 2022-04-22
  • archivedRemoved from CRAN
    2022-01-23
    repeated policy violation On Internet access
Show 16 earlier eventsHide 16 earlier events
  • 1.6.5
    record
    2022-01-04 · diff ↗
  • 1.6.4
    record
    2021-07-23 · diff ↗
  • 1.6.3
    record
    2021-07-22 · diff ↗
  • 1.6.2
    record
    2021-07-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.1
    record
    2021-04-17 · diff ↗
  • 1.6
    record
    2021-04-14 · diff ↗ ·
    added 4 exports
    check_connection, read_comparable_areas, read_pop_arrangements, read_urban_concentrations
  • 1.5-1
    record
    2021-02-06 · diff ↗
  • 1.5
    record
    2021-02-03 · diff ↗ ·
    added 2 exports
    cep_to_state, read_schools
  • 1.4
    record
    2020-10-04 · diff ↗ ·
    added 1 export
    read_health_region
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3
    record
    2020-03-29 · diff ↗ ·
    added 4 exports
    load_gpkg, read_neighborhood, select_metadata, select_year_input
  • 1.2
    record
    2020-02-20 · diff ↗ ·
    added 6 exports
    download_gpkg, list_geobr, lookup_muni, read_metro_area, read_municipal_seat, select_data_type
  • 1.1
    record
    2019-12-03 · diff ↗ ·
    added 10 exports
    download_metadata, read_amazon, read_biomes, read_conservation_units, read_disaster_risk_area, read_immediate_region, read_indigenous_land, read_intermediate_region, read_semiarid, read_urban_area
  • 1.0
    record
    2019-08-05
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-08-05
Total releases
22 / 7 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.4.0
Bundled data
1.1 KB / 1 file
Download size
1.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("geobr")
Pereira, R. H. M., ITpS - Instituto Todos pela Saúde, Ipea - Institue for Applied Economic Research, Andrade, P. R., Araujo, P. H. F. d., Arruda, R. A. d., Barbosa, R. J., Bazolli, A., Braga, C. K. V., Carvalho, G. D., Cavalcanti, F., Cavedo, W. S., Costa, B. S. P. d., Ferreira, D., Gelape, L., Goncalves, C. N., Lago, C. d., Lopes, R., Milz, B., Nascimento, I., Oike, V., Rosa, M., Samuel-Rosa, A., Saraiva, M., Schmertmann, C., & Silva, A. d. (2026). geobr: Download Official Spatial Data Sets of Brazil (Version 2.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.geobr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 geobr version 2.1.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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