Skip to contents

Fetch reporting data from cfa-dataops

Usage

# S3 method for class 'cfa_dataops_source'
fetch_reporting_data(
  source,
  reference_dates = "*",
  report_dates = "*",
  locations = "*",
  dedup = c("latest", "earliest"),
  ...
)

Arguments

source

A cfa_dataops_source object.

reference_dates

Date vector or "*" for all.

report_dates

Date vector or "*" for all.

locations

Character vector of locations ("*" for all). Use lowercase two-letter state abbreviations (e.g., "ca") or "us" for national data.

dedup

Character, "latest" (default) or "earliest". Controls how multiple cfa-dataops versions falling in the same MMWR epiweek are resolved.

...

Additional arguments passed to internal helpers.

Value

data.frame with reporting triangle data.