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

Add groups metadata type to listCensusMetadata #45

Closed hrecht closed 6 years ago

hrecht commented 6 years ago

For the new 2010 dec/sf1 API endpoint, group codes are listed in the group metadata field. Concept labels are no longer used. Group labels (formerly concept labels) can be found in the groups metadata file, e.g. https://api.census.gov/data/2010/dec/sf1/groups.json A listCensusMetadata(type = "groups") option could be added without much work to make this data more easily discoverable, particularly useful for the new 2010 Decennial and ACS formats.

Caveat: for most API endpoints the groups metadata currently contains no content.