pub_covid_hosp_facility_lookup {epidatr}R Documentation

Helper for finding COVID hospitalization facilities

Description

API docs: https://cmu-delphi.github.io/delphi-epidata/api/covid_hosp_facility_lookup.html

Obtains unique identifiers and other metadata for COVID hospitalization facilities of interest. This is a companion endpoint to the pub_covid_hosp_facility() endpoint.

Usage

pub_covid_hosp_facility_lookup(
  ...,
  state = NULL,
  ccn = NULL,
  city = NULL,
  zip = NULL,
  fips_code = NULL,
  fetch_args = fetch_args_list()
)

Arguments

...

not used for values, forces later arguments to bind by name

state

string. A two-letter character state abbreviation.

ccn

string. A facility CMS certification number.

city

string. A city name.

zip

string. A 5-digit zip code.

fips_code

string. A 5-digit fips county code, zero-padded.

fetch_args

fetch_args. Additional arguments to pass to fetch().

Details

Only one location argument needs to be specified. Combinations of the arguments are not currently supported.

Value

tibble::tibble

See Also

pub_covid_hosp_facility()

Examples

## Not run: 
pub_covid_hosp_facility_lookup(state = "fl")
pub_covid_hosp_facility_lookup(city = "southlake")

## End(Not run)

[Package epidatr version 1.1.1 Index]