hrecht / censusapi

R package to retrieve U.S. Census data and metadata via API
https://www.hrecht.com/censusapi/
169 stars 31 forks source link

Test irregular Economic Indicators APIs #21

Closed hrecht closed 6 years ago

hrecht commented 7 years ago

The Economic Indicators API schema are very irregular. Verify that getCensus still works with these APIs and optional arguments, add regular tests to confirm - https://www.census.gov/data/developers/data-sets/economic-indicators.html

hrecht commented 6 years ago

These APIs appear to be working fine. For example, this works without error.

eits <- getCensus(name = "timeseries/eits/resconst",
  vars = c("cell_value", "data_type_code", "time_slot_id", "error_data", "category_code", "seasonally_adj"),
  region = "us:*",
  time = "from 2004-05 to 2012-12")