gs_timeseries: Create Timeseries for Google Sheets Data

View source: R/gs_timeseries.R

gs_timeseriesR Documentation

Create Timeseries for Google Sheets Data

Description

Create Timeseries for Google Sheets Data

Usage

gs_timeseries(
  inv = process_inv(read_inv(date = date)),
  pcr = process_pcr(read_pcr(date = date), inv = inv),
  delay = 5L,
  date = NULL
)

Arguments

inv

Investigation data from process_inv()

pcr

PCR test data from process_pcr()

delay

The number of days that reporting is delayed; will truncate percent positive numbers at this date

date

Download date of the data

Value

A tibble with columns dt (Date), inv_pos (int), inv_neg (int), inv_pct_pos (dbl), inv_pct_pos_avg (dbl), pcr_pos (int), pcr_neg (int), deaths (int)


jesse-smith/covidReport documentation built on Aug. 3, 2024, 4:52 p.m.