Session Ready
Exercise

Wealthiest Zip Codes in America

Zooming out from North Carolina, let's put together a polygon layer for the entire country. Then we will work to add this layer to our map of American colleges.

According to the 2015 IRS data, there are 427 zip codes in America with a mean income of $200,000 or more. It might be interesting to know which colleges are located in these affluent areas. Let's map these 427 polygons and explore our leaflet map to better understand where the highest income zip codes in America are. To get us started, a SpatialPolygonsDataFrame called wealthy_zip that contains information on each zip code in America with a mean income of $200,000 or more has been loaded for you.

Before we work with this data, take a minute to hypothesize where many of these zip codes are located.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Call the slotNames function to print the slot names of wealthy_zips.