get_keywords: Extract keywords listed in the healthdata.gov API

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

This is a helper function that will download either all keywords listed in the healthdata.gov data API, or pairings of agency and keywords listed.

Usage

1
get_keywords(agency = NULL)

Arguments

agency

enter full agency name in title case (results from get_agencies()) to pull keywords tagged in the listed agency's products. Defaults to NULL and pulls all keywords cataloged

Value

a tibble with publisher (agency) name(s) and respective keywords

Examples

1
2
3
4
5
6
## Not run: 
get_keywords()

get_keywords("Centers for Disease Control and Prevention")

## End(Not run)

iecastro/healthdatacsv documentation built on Nov. 10, 2020, 2:37 a.m.