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
- use the following to answer questions 1 2
- mapdata homework visualizing median income on a map
- the theoretical basics of the theil index covered in the
- iq income and the 2004 us presidential election
- hypothesis testing worksheet
- introduction to medicaid state plans and 1915c waivers
- state by state telephone revenue and universal service data
- rsa im 95 07 summary of statistical information of the
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