Tidycensus for 1960, 1970

I am trying to pull 1960 and 1970 county population data counts using tidycensus, but I don’t know what the ‘datasets’ parameter should be. Can tidycensus access census data from these earlier census tabulations? If so, how can I call a specific dataset? The code I am using is below, but I keep getting an error.

varlist60<-load_variables(1960, "STF1")

There are two major functions implemented in tidycensus : get_decennial() , which grants access to the 2000 and 2010 decennial US Census APIs, and get_acs() , which grants access to the 1-year and 5-year American Community Survey APIs. Note: at the moment, access to the 1990 (SF1 and SF3) and 2000 (SF3) APIs has been suspended.

Basic usage

For Census data from before 1990, I would recommend NHGIS, which you can work with in R using the ipumsr package:

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.