ABSTRACT

Chapter 11 introduces readers to a range of alternative historical and non-Census government data sources. The first part of this chapter provides an overview of how to access and use historical US Census datasets in R with NHGIS, IPUMS, and the ipumsr package. The second part of this chapter covers R workflows for Census data resources outside the decennial US Census and American Community Survey. It highlights packages such as censusapi, which allows for programmatic access to all US Census Bureau APIs, and lehdr, which grants access to the LEHD LODES dataset for analyzing commuting flows and jobs distributions. The chapter concludes with an illustration of how R users can write their own functions to access US government data resources.