Prompt for Monday, March 14
Check out the
New York Times election results view
(paywall)
We will replicate this plot in R, focusing on how the same processes are being implemented in different ways. Open the two R files in RStudio.
Have R and RStudio installed. The book
R for Data Science
will be useful (free online version through Cornell library).
Data from
FBI uniform crime reporting
and the
US Bureau of Labor Statistics
.
Simple Linear Regression
and
Least Squares
.
The negative result argument pattern
Selection specificity
Complicated data
Is the economy improving?
An example of the data join pattern in d3