Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save juliasilge/4e9476927e1eebb4c326 to your computer and use it in GitHub Desktop.
Save juliasilge/4e9476927e1eebb4c326 to your computer and use it in GitHub Desktop.
purrr::map_df(2009:2014, function(i) {
api_info <- jsonlite::fromJSON(sprintf("http://api.census.gov/data/%s/acs5/", i))
api_info$dataset[, c("title", "c_unavailableMessage")]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment