Learn to Map Census Data in R

June 25, 2015
By

(This article was first published on AriLamstein.com » R, and kindly contributed to R-bloggers)

Today I am happy to announce a new free email course: Mapping Census Data in R. You can sign up via the form at the bottom of this post. The course is designed to provide similar information to what I covered in my tutorial Analyzing US Census Data with R. In short, it will teach you how to create choropleth maps of US demographics such as this1:

texas-county-percent-hispanic

The course has five email lessons, with three days between each lesson. The lessons are:

  1. Introduction. An introduction to the dataset we’ll use, a basic review of R, etc.
  2. States. Creating choropleth maps of US State demographics.
  3. Counties. Creating choropleth maps of US County demographics.
  4. ZIP Codes. Creating choropleth maps of US ZIP Code demographics.
  5. Conclusion. Wrapping up, pointers to more information.

The course is intended as an introduction. If it becomes popular I hope to follow it up with a more in depth course on a site such as Udemy.

1: The R code to create that chorpleth map is:

library(choroplethr)
library(mapproj)

data(df_county_demographics)
df_county_demographics$value = df_county_demographics$percent_hispanic
county_choropleth(df_county_demographics, 
                  state_zoom = "texas",
                  title      = "Texas County Percent Hispanicn2012 Estimates",
                  num_colors = 9) + coord_map()

The post Learn to Map Census Data in R appeared first on AriLamstein.com.

To leave a comment for the author, please follow the link and comment on their blog: AriLamstein.com » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)