Learn R Programming

geobr (version 0.02)

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

Description

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

Usage

read_country(year = NULL)

Arguments

year

Year of the data (defaults to 2010)

See Also

Other general area functions: read_census_tract, read_meso_region, read_micro_region, read_municipality, read_region, read_state, read_statistical_grid, read_weighting_area

Examples

Run this code
# NOT RUN {
library(geobr)

# Read specific year
  br <- read_country(year=2018)

# }

Run the code above in your browser using DataLab