hrecht / censusapi

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

Split listCensusMetadata() into list_variables(), list_geographies(), list_values(), list_groups() #95

Open hrecht opened 5 months ago

hrecht commented 5 months ago

Split metadata retrieval function listCensusMetadata() into list_variables(), list_geographies(), list_values(), list_groups().

When the package was first written, only simple geography and variable metadata existed. The current mega-function is now overly complicated for users, unwieldy and inflexible for development, and not future-proof.

Separate functions will be much simpler to use and provide better functionality.