I'm looking here, which says this variable exists in the ACS1 2016 collection:
And is listed generally in the data dictionary for that collection.
But I query it in any of the formats listed here as examples, it does not:
All return:
error: error: unknown variable 'DP02_0001E'
What am I doing wrong?
I hit the same problem and I think I understand the solution thanks to this GitHub issue.
acs/acs1
will work for the DETAILED TABLES. acs/acs1/profile
. acs/acs1/subject
. I believe the appropriate paths can generally constructed from the "dataset name" column in the table here. For example, the following should work:
https://api.census.gov/data/2016/acs/acs1/profile?get=DP02_0001E&for=state:01
NB: For geographic queries, you should also note that you need to use one of the available geographies and you may need to provide the high-level geography, e.g.:
https://api.census.gov/data/2016/acs/acs1/profile?get=DP02_0001E&for=county:031&in=state:17