Totalcensus api returns a data table with columns but 0 rows?

20 Views Asked by At

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"
)
0

There are 0 best solutions below