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

Examples for every API #39

Closed hrecht closed 5 years ago

hrecht commented 6 years ago

The most frequent questions and issues I receive about this package relate to how to use a specific API. To that end, I've created a new list of examples vignette.

It's very bare bones right now - 1 to 3 examples from most of the APIs with little text. Suggestions/PRs for how to improve this page are welcome!

In addition, if you have projects you've done using censusapi with code online, a usage example page with links would be cool for the future.

hrecht commented 6 years ago

Next examples to add: the ACS comparison dataset endpoints, inspired by this great use case http://www.baltimoresun.com/news/maryland/bs-md-baltimore-commute-20180913-story.html

call: https://api.census.gov/data/2017/acs/acs1/cprofile?get=CP03_2013_025E,CP03_2014_025E,CP03_2015_025E,CP03_2016_025E,CP03_2017_025E&for=state:*

And historical poverty rates from the timeseries/poverty/histpov2 endpoint