Inizia subitoInizia gratis

Getting Census boundary files with tigris

The US Census Bureau's TIGER/Line shapefiles include boundary files for the geography at which decennial Census and ACS data are aggregated. These geographies include legal entities that have legal standing in the U.S., such as states and counties, and statistical entities used for data tabulation such as Census tracts and block groups. In this exercise, you'll use the tigris package to acquire such boundary files for counties in Colorado and Census tracts for Colorado's Denver County, which covers the city of Denver.

Questo esercizio fa parte del corso

Analyzing US Census Data in R

Visualizza corso

esercizio interattivo pratico

Prova questo esercizio completando questo codice di esempio.

library(tigris)

# Get a counties dataset for Colorado and plot it
co_counties <- ___(___ = "CO")
___(co_counties)
Modifica ed esegui il codice