Learn R Programming

⚠️There's a newer version (1.9.1) of this package.Take me there.

geobr (version 1.5)

Loads Shapefiles of Official Spatial Data Sets of Brazil

Description

Easy access to official spatial data sets of Brazil as 'sf' objects in R. The package includes a wide range of geospatial data available at various geographic scales and for various years with harmonized attributes, projection and topology.

Copy Link

Version

Install

install.packages('geobr')

Monthly Downloads

6,208

Version

1.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rafael H. M. Pereira

Last Published

February 3rd, 2021

Functions in geobr (1.5)

read_weighting_area

Download shape files of Census Weighting Areas (area de ponderacao) of the Brazilian Population Census.
read_municipal_seat

Download official data of municipal seats (sede dos municipios) in Brazil as an sf object.
read_meso_region

Download shape files of meso region as sf objects. Data at scale 1:250,000, using Geodetic reference system "SIRGAS2000" and CRS(4674)
read_municipality

Download shape files of Brazilian municipalities as sf objects.
read_biomes

Download official data of Brazilian biomes as an sf object.
read_disaster_risk_area

Download official data of disaster risk areas as an sf object.
read_amazon

Download official data of Brazil's Legal Amazon as an sf object.
read_country

Download shape file of Brazil as sf objects. Data at scale 1:250,000, using Geodetic reference system "SIRGAS2000" and CRS(4674)
lookup_muni

Lookup municipality codes and names
read_semiarid

Download official data of Brazilian Semiarid as an sf object.
read_metro_area

Download shape files of official metropolitan areas in Brazil as an sf object.
read_health_facilities

Download geolocated data of health facilities as an sf object.
read_urban_area

Download official data of urbanized areas in Brazil as an sf object.
read_neighborhood

Download neighborhood limits of Brazilian municipalities as an sf object
read_immediate_region

Download shape files of Brazil's Immediate Geographic Areas as sf objects
read_region

Download shape file of Brazil Regions as sf objects.
read_health_region

Download official data of Brazilian health regions as an sf object.
select_year_input

Select year input
select_data_type

Select data type: 'original' or 'simplified' (default)
read_micro_region

Download shape files of micro region as sf objects
select_metadata

Select metadata
download_gpkg

Download geopackage to tempdir
read_state

Download shapefiles of Brazilian states as sf objects.
read_indigenous_land

Download official data of indigenous lands as an sf object.
cep_to_state

Determine the state of a given CEP postal code
read_census_tract

Download shape files of census tracts of the Brazilian Population Census (Only years 2000 and 2010 are currently available).
read_conservation_units

Download official data of Brazilian conservation untis as an sf object.
read_statistical_grid

Download shape files of IBGE's statistical grid (200 x 200 meters) as sf objects. Data at scale 1:250,000, using Geodetic reference system "SIRGAS2000" and CRS(4674)
list_geobr

List all datasets available in the geobr package
geobr

geobr package
grid_state_correspondence_table

A correspondence table indicating what quadrants of IBGE's statistical grid intersect with each Brazilian state
read_schools

Download geolocated data of schools as an sf object.
download_metadata

Support function to download metadata internally used in geobr
read_intermediate_region

Download shape files of Brazil's Intermediate Geographic Areas as sf objects.
load_gpkg

Load geopackage from tempdir to global environment