MapData Homework – Visualizing ... - SAGE Publications Inc
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
- introduction to data introduction to r
- informatics practices new 065 class xii kv no 1
- ieee 802 11 20 0270r8
- lab 3 the vector data model ucsb
- stat 19000 project 7 the data mine
- mapdata homework visualizing sage publications inc
- aggregate profile user guide version 4
- arcgis basics 2 creating a map with arcmap india data
- a short introduction to the r programming language for
- rstudio 01
Related searches
- sage manuscript submission guidelines
- homework vs no homework facts
- homework vs no homework statistics
- homework vs no homework article
- sage journal of dental research
- sage bankruptcy financial management course
- sage dental arvada
- sage dental arvada co
- sage medical journal
- sage simply accounting software
- sage simply accounting 2015 download
- free homework online homework assignments