# NOT RUN {
library(geobr)
# Read rural census tracts for years before 2007
c <- read_census_tract(code_tract=5201108, year=2000, zone="rural")
# Read all census tracts of a state at a given year
c <- read_census_tract(code_tract=53, year=2010); # or
c <- read_census_tract(code_tract="DF", year=2010)
plot(c)
# Read all census tracts of a municipality at a given year
c <- read_census_tract(code_tract=5201108, year=2010)
plot(c)
# Read all census tracts of the country at a given year
c <- read_census_tract(code_tract="all", year=2010)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab