pub_covid_hosp_facility_lookup: Helper for finding COVID hospitalization facilities

View source: R/endpoints.R

pub_covid_hosp_facility_lookupR 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)

epidatr documentation built on June 22, 2024, 9:15 a.m.