pub_fluview_clinical: CDC FluView flu tests from clinical labs

View source: R/endpoints.R

pub_fluview_clinicalR Documentation

CDC FluView flu tests from clinical labs

Description

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

Usage

pub_fluview_clinical(
  regions,
  epiweeks = "*",
  ...,
  issues = NULL,
  lag = NULL,
  fetch_args = fetch_args_list()
)

Arguments

regions

character. Regions to fetch.

epiweeks

timeset. Epiweeks to fetch in the form epirange(startweek,endweek), where startweek and endweek are of the form YYYYWW (string or numeric). Defaults to all ("*") dates.

...

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

issues

timeset. Optionally, the issues to fetch. If not set, the most recent issue is returned. Mutually exclusive with lag.

lag

integer. Optionally, the lag of the issues to fetch. If not set, the most recent issue is returned. Mutually exclusive with issues.

fetch_args

fetch_args. Additional arguments to pass to fetch().

Value

tibble::tibble

Examples

## Not run: 
pub_fluview_clinical(regions = "nat", epiweeks = epirange(201601, 201701))

## End(Not run)

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