Stock market analysis is fun and potentially profitable.
This presentation will use the package tidyquant created by Matt Dancho.
From the tidyquant documentation, "All tidyquant functions return data in the tibble (tidy data frame) format, which allows for interaction within the tidyverse. … The tidyquant package includes charting tools to assist users in developing quick visualizations in ggplot2 using the grammar of graphics format and workflow."
Source code is available on GitHub.
The tidyquant website is another good source of information.