Is the Totalcensus library defunct? I try the below call, follow the prompts to accept the downloaded data, and there's no errors but an empty data table is returned in R.
library(totalcensus)
## ---------------------------------- totalcensus API call -----------------------------------------
set_path_to_census("X:/my_folder")
zip_acs5_2016 <- read_acs5year(
year = 2016,
states = "WI",
geo_headers = "ZCTA5",
table_contents = c(
"white = B02001_002",
"black = B02001_003",
"asian = B02001_005"
),
summary_level = "860"
)