Learn R Programming

geobr (version 1.9.1)

Download 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 fixed topology.

Copy Link

Version

Install

install.packages('geobr')

Monthly Downloads

3,708

Version

1.9.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rafael H. M. Pereira

Last Published

September 6th, 2024

Functions in geobr (1.9.1)

read_health_region

Download spatial data of Brazilian health regions and health macro regions
read_neighborhood

Download spatial data of neighborhood limits of Brazilian municipalities
read_immediate_region

Download spatial data of Brazil's Immediate Geographic Areas
read_municipality

Download spatial data of Brazilian municipalities
read_indigenous_land

Download spatial data of indigenous lands in Brazil
read_intermediate_region

Download spatial data of Brazil's Intermediate Geographic Areas
read_municipal_seat

Download spatial data of municipal seats (sede dos municipios) in Brazil
read_micro_region

Download spatial data of micro regions
read_meso_region

Download spatial data of meso regions
read_urban_area

Download spatial data of urbanized areas in Brazil
read_pop_arrangements

Download population arrangements in Brazil
read_region

Download spatial data of Brazil Regions
read_semiarid

Download spatial data of the Brazilian Semiarid region
read_weighting_area

Download spatial data of Census Weighting Areas (area de ponderacao) of the Brazilian Population Census
read_urban_concentrations

Download urban concentration areas in Brazil
select_data_type

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

Download geolocated data of schools
read_state

Download spatial data of Brazilian states
read_metro_area

Download spatial data of official metropolitan areas in Brazil
select_metadata

Select metadata
read_statistical_grid

Download spatial data of IBGE's statistical grid
select_year_input

Select year input
lookup_muni

Look up municipality codes and names
cep_to_state

Determine the state of a given CEP postal code
filter_state

Filter data set to return specific states
list_geobr

List all data sets available in the geobr package
read_amazon

Download spatial data of Brazil's Legal Amazon
read_conservation_units

Download spatial data of Brazilian environmental conservation units
read_capitals

Download data of state capitals
read_biomes

Download spatial data of Brazilian biomes
check_connection

Check internet connection with Ipea server
load_gpkg

Load geopackage from tempdir to global environment
download_metadata

Support function to download metadata internally used in geobr
numbers_only

Check if vector only has numeric characters
download_gpkg

Download geopackage to tempdir
grid_state_correspondence_table

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

Download spatial data of disaster risk areas
geobr

geobr: Download Official Spatial Data Sets of Brazil
read_country

Download spatial data of Brazil's national borders
read_census_tract

Download spatial data of census tracts of the Brazilian Population Census
read_health_facilities

Download geolocated data of health facilities
read_comparable_areas

Download spatial data of historically comparable municipalities