get_agencies: Extract names of agencies cataloged in the healthdata.gov API

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

This function will download a list of Agencies listed as having an available data product in the healthdata.gov data API endpoint.

Usage

1
get_agencies(agency = NULL)

Arguments

agency

enter partial name or initials of agency to search catalog for string pattern. Defaults to NULL and pulls all agencies cataloged in API

Value

a tibble of names

Examples

1
2
3
4
5
6
7
8
## Not run: 
get_agencies()

get_agencies("institute")

get_agencies("substance abuse")

## End(Not run)

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