Exploring the basics of R on a data set based on the fivethirtyeight.com "Most Police Don’t Live In The Cities They Serve" article.
Look into tidy data properties on data sets used in articles from fivethirtyeight.com in the fivethirtyeight R package
Create and analyze different plots relating two numerical variables via the ggplot2 package using datasets in and derived from the fivethirtyeight R package
Make and interpret different plots relating one categorical variable to one numerical variable via the ggplot2 package using datasets in and derived from the fivethirtyeight R package
Generate and examine barplots displaying one categorical variable or relationships between multiple categorical variables via the ggplot2 package using datasets in and derived from the fivethirtyeight R package
Identifying and creating the appropriate plot based on different types of variables using the ggplot2 package
Choose a subset of rows and summarize a data frame in total and across different levels of other variables using the dplyr package
Create a new column in a data frame, modify an existing column, and sort by one or more columns using the dplyr package. Review the main ideas of the Five Main Verbs of dplyr - filter, summarize, group_by, mutate, and arrange.
To supplement learning of the material covered at http://moderndive.com, this chapter provides a playground for you to work with the code and better understand what each of the gray chunks of R code throughout the book does.