MapData Homework – Visualizing Median Income on a Map
HomeworkMapData Homework – Visualizing Median Income on a MapDownload the dataset that has median income by zip code (an excel file) from psc.isr.umich.edu/dis/census/Features/tract2zip/Step 1: Load the data1. Read the data – using the gdata package we have previously used.2. Clean up the dataframe if needed and make sure the column names are zip, median, mean, population.3. Load the “zipcode” package.4. Merge the zip code information from the two dataframes (merge into one dataframe).5. Remove Hawaii and Alaska (just focus on the “lower 48” states).Step 2: Show the income and population per state1. Create a simpler dataframe, with just the average median income and the population for each state.2. Add the state abbreviations and the state names as new columns (make sure the state names are all lower case).3. Show the U.S. map, representing the color with the average median income of that state.4. Create a second map with color representing the population of the state.Step 3: Show the income per zip code1. Draw each zip code on the map, where the color of the “dot” is based on the median income. To make the map look appealing, have the background of the map in black.Step 4: Show zip code density1. Now generate a different map, one where we can easily see where there are lots of zip codes, and where there are few (using the “stat_density2d” function).Step 5: Zoom in to the region around NYC1. Repeat steps 3 and 4, but have the image/map of the northeast U.S. (centered around New York). ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- cdmis error message codes child development ca dept of
- zip code data internal revenue service
- part i project information summary
- resources corporation khrc
- dfwhc foundation
- homepage federal home loan bank des moines
- home sample self certification of annual income form
- mapdata homework visualizing median income on a map
- percentage of area median income hud
- insert title university of phoenix
Related searches
- us median income 2018 by state
- median income for retired couple
- historical median income data
- median income for retired households
- median income 2019 by state
- median income by country
- us median income by state
- median income by city 2018
- 2018 median income by county
- us median income 2018 individual
- oklahoma state median income 2018
- median income usa 2020