Today I am happy to announce a new free email course: Mapping Census Data in R. You can sign up here. 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:
The course has five email lessons, with three days between each lesson. The lessons are:
- Introduction. An introduction to the dataset we’ll use, a basic review of R, etc.
- States. Creating choropleth maps of US State demographics.
- Counties. Creating choropleth maps of US County demographics.
- ZIP Codes. Creating choropleth maps of US ZIP Code demographics.
- 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:
[code lang=”r”]
library(choroplethr)
library(choroplethrMaps)
library(mapproj)
library(ggplot2)
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 Hispanic\n2012 Estimates",
num_colors = 9) + coord_map()
[/code]