CommencerCommencer gratuitement

NC High Income Zips

Did you have a hypothesis of why certain zip codes are missing income information? It looks to me like many of them are areas that likely have low populations (e.g., parks, colleges, etc.) and the IRS only reports income data on zip codes with more than 100 filers.

Now let's focus in on a subset of zip codes with income data, namely the 25% of zip codes in NC with the highest mean incomes. Where do think these will fall within the states?

Let's take a look and find out.

Cet exercice fait partie du cours

Interactive Maps with leaflet in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# summarize the mean income variable
summary(shp$___)
Modifier et exécuter le code