Errata

You are reading the free online version of this book. If you’d like to purchase a physical or electronic copy, you can buy it from No Starch Press, Powell’s, Barnes and Noble or Amazon.

Chapter 1: An R Programming Crash Course

No updates

Chapter 2: Principles of Data Visualization

Figure 2-11 has been updated to use the correct plot (in the first print version, it uses the same plot shown in Figure 2-10).

Chapter 3: Custom Data Visualization Themes

No updates

Chapter 4: Maps and Geospatial Data

The first print version of the book uses the albersusa package. Unfortunately, this package is no longer easily installable. I’ve changed the instructions to use the tigris package in the online version of this chapter.

The publication date for the book Analyzing US Census Data: Methods, Maps, and Models in R has been corrected from 2013 to 2023.

Chapter 5: Designing Effective Tables

No updates

Chapter 6: R Markdown Reports

A reference to the markdown package has been updated to the correct package name: rmarkdown

Chapter 7: Parameterized Reporting

No updates

Chapter 8: Slideshow Presentations

No updates

Chapter 9: Websites

No updates

Chapter 10: Quarto

No updates

Chapter 11: Automatically Accessing Online Data

Code to calculate the Asian population in each state via the first method shown in the Analyzing Census Data had an error in the first print version of the book. It has been fixed in the online version.

Chapter 12: Creating Functions and Packages

No updates