Retrieve the dataset IDs for supported data.cdc.gov
datasets
Source: R/pull_data_cdc_gov.R
data_cdc_gov_dataset_id.Rd
Retrieve the dataset IDs for supported data.cdc.gov
datasets
Arguments
- dataset_key
Internal forecasttools name for the dataset. See data_cdc_gov_dataset_table.
- strict
Error on nom-matches? Passed as the
strict
argument todata_cdc_gov_dataset_lookup()
. DefaultFALSE
.
Examples
data_cdc_gov_dataset_id("nhsn_hrd_prelim")
#> [1] "mpgq-jmmr"
data_cdc_gov_dataset_id("nssp_prop_ed_visits")
#> [1] "rdmq-nq56"
data_cdc_gov_dataset_id(c("nssp_prop_ed_visits", "nhsn_hrd_final"))
#> [1] "rdmq-nq56" "ua7e-t2fy"