Arnold, Jeffrey B. 2021. Ggthemes: Extra Themes, Scales and Geoms for Ggplot2.
Bache, Stefan Milton, and Hadley Wickham. 2020. Magrittr: A Forward-Pipe Operator for r.
Bivand, Roger, and Nicholas Lewin-Koh. 2021. Maptools: Tools for Handling Spatial Objects.
Brownrigg, Ray. 2021. Maps: Draw Geographical Maps.
Cheng, Joe, Bhaskar Karambelkar, and Yihui Xie. 2021. Leaflet: Create Interactive Web Maps with the JavaScript Leaflet Library.
Dowle, Matt, and Arun Srinivasan. 2021. Data.table: Extension of ‘Data.frame‘.
Henry, Lionel, and Hadley Wickham. 2020. Purrr: Functional Programming Tools.
Kahle, David, Hadley Wickham, and Scott Jackson. 2019. Ggmap: Spatial Visualization with Ggplot2.
Kearney, Michael W. 2020. Rtweet: Collecting Twitter Data.
Lamstein, Ari. 2020. Choroplethr: Simplify the Creation of Choropleth Maps in r.
Meyer, David, Evgenia Dimitriadou, Kurt Hornik, Andreas Weingessel, and Friedrich Leisch. 2021. E1071: Misc Functions of the Department of Statistics, Probability Theory Group (Formerly: E1071), TU Wien.
Müller, Kirill, and Hadley Wickham. 2021. Tibble: Simple Data Frames.
R Core Team. 2021. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing.
———. 2022. Foreign: Read Data Stored by Minitab, s, SAS, SPSS, Stata, Systat, Weka, dBase, ...
Ram, Karthik, and Hadley Wickham. 2018. Wesanderson: A Wes Anderson Palette Generator.
Rudis, Bob. 2020. Hrbrthemes: Additional Themes, Theme Components and Utilities for Ggplot2.
Sievert, Carson, Chris Parmer, Toby Hocking, Scott Chamberlain, Karthik Ram, Marianne Corvellec, and Pedro Despouy. 2021. Plotly: Create Interactive Web Graphics via Plotly.js.
Spinu, Vitalie, Garrett Grolemund, and Hadley Wickham. 2021. Lubridate: Make Dealing with Dates a Little Easier.
Wickham, Hadley. 2020. Httr: Tools for Working with URLs and HTTP.
———. 2021a. Tidyr: Tidy Messy Data.
———. 2021b. Tidyverse: Easily Install and Load the Tidyverse.
Wickham, Hadley, and Jennifer Bryan. 2019. Readxl: Read Excel Files.
Wickham, Hadley, Winston Chang, Lionel Henry, Thomas Lin Pedersen, Kohske Takahashi, Claus Wilke, Kara Woo, Hiroaki Yutani, and Dewey Dunnington. 2021. Ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics.
Wickham, Hadley, Romain François, Lionel Henry, and Kirill Müller. 2021. Dplyr: A Grammar of Data Manipulation.
Wickham, Hadley, Jim Hester, and Jennifer Bryan. 2021. Readr: Read Rectangular Text Data.
Wickham, Hadley, and Evan Miller. 2021. Haven: Import and Export SPSS, Stata and SAS Files.
Xie, Yihui. 2021a. Bookdown: Authoring Books and Technical Documents with r Markdown.
———. 2021b. Knitr: A General-Purpose Package for Dynamic Report Generation in r.
———. 2021c. Printr: Automatically Print r Objects to Appropriate Formats According to the Knitr Output Format.
Xie, Yihui, Joe Cheng, and Xianying Tan. 2021. DT: A Wrapper of the JavaScript Library DataTables.
Zeileis, Achim, Gabor Grothendieck, and Jeffrey A. Ryan. 2021. Zoo: S3 Infrastructure for Regular and Irregular Time Series (z’s Ordered Observations).
Zhu, Hao. 2021. kableExtra: Construct Complex Table with Kable and Pipe Syntax.

  1. There are other IDEs you could experiment with, such as Atom, Sublime Text, Visual Studio Code. RStudio has a very robust and vast ecosystem that, in my experience, comes in handy to speed up the learning process.↩︎

  2. If you use cache = TRUE you may need to knit the file a couple of times for any changes in the code to catch. This does not happen often but is something to pay attention to.↩︎

  3. Towards the end of this text you will see how to utilize APIs to grab data, as well as a basic overview of scraping websites (when legally permissible).↩︎

  4. You can read more about these (and other components) that combine to create the grammar of graphics here and here.↩︎

  5. For more on their roots see here.↩︎

  6. IQR = the interquartile range, which is \(= Q_3 - Q_1\)↩︎

  7. The Regional data are problematic in terms of the API but more on that later.↩︎

  8. There was no Summary File 3 generated for 2010.↩︎

  9. Note that in your case scientific notation (the default) may be visible whereas in my case scientific notation has been disabled.↩︎

  10. Be sure to follow the instructions for installing the fonts and importing them into R↩︎