# NOT RUN {
library(geobr)
# Read specific municipality at a given year
grid <- read_statistical_grid(code_grid = 45, year=2010)
# Read all municipalities of a state at a given year
state_grid <- read_statistical_grid(code_grid = "RJ")
# }
Run the code above in your browser using DataLab