This code replicates the plots used in this analysis by The New York Times using Python and R.
config-sample.py with the development credentials obtained for your
account and rename it to
python get_data.py account_nameto get data for that account.
Rscript plot_data.R account_nameto save a JPG file with the desired plot. Alternatively, you can start R in interactive mode and call the
save_username_plotfunction to obtain a ggplot2 object.