ComenzarEmpieza 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.

Este ejercicio forma parte del curso

Analyzing US Census Data in R

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

library(tigris)

# Get a counties dataset for Colorado and plot it
co_counties <- ___(___ = "CO")
___(co_counties)
Editar y ejecutar código