Exercise

Joining data from tigris and tidycensus

Geometry is currently supported in tidycensus for geographies in the core Census hierarchy - state, county, Census tract, block group, and block - as well as zip code tabulation areas. However, you may be interested in mapping data for other geographies. In this case, you can download the equivalent boundary file from the Census Bureau using the tigris package and join your demographic data to it for mapping.

Instructions

100 XP
  • Get median household income by unified school district in Idaho by using the geography identifier "school district (unified)".
  • Get unified school district boundaries in Idaho using the school_districts() function.
  • Join the two datasets together with left_join().