Session Ready
Exercise

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.

Instructions 1/2
undefined XP
  • 1

    Use the counties() function to get a dataset of counties for Colorado, then plot them.

    • 2

      Acquire Census tract boundaries for Denver County by setting the county in tracts() to "Denver", then plot them.