pvt_cdc {epidatr}R Documentation

CDC total and by topic webpage visits

Description

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

Usage

pvt_cdc(auth, locations, epiweeks = "*", fetch_args = fetch_args_list())

Arguments

auth

string. Restricted access key (not the same as API key).

locations

character. Locations to fetch.

epiweeks

timeset. Epiweeks to fetch. Defaults to all ("*") dates.

fetch_args

fetch_args. Additional arguments to pass to fetch(). See fetch_args_list() for details.

Value

tibble::tibble

Examples

## Not run: 
pvt_cdc(
  auth = Sys.getenv("SECRET_API_AUTH_CDC"),
  locations = "fl,ca",
  epirange(201501, 201601)
)

## End(Not run)


[Package epidatr version 1.2.0 Index]