Learn R Programming

epidatr (version 1.2.0)

pvt_cdc: 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())

Value

tibble::tibble

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.

Examples

Run this code
if (FALSE) {
pvt_cdc(
  auth = Sys.getenv("SECRET_API_AUTH_CDC"),
  locations = "fl,ca",
  epirange(201501, 201601)
)
}

Run the code above in your browser using DataLab