build_healthdata_data: Construct a merged healthdata data set for a single issue...

View source: R/healthdata_download.R

build_healthdata_dataR Documentation

Construct a merged healthdata data set for a single issue date by pulling from a timeseries update if one is available, or by augmenting the last time series update on or before the issue date with daily updates that were made after the last time series update and on or before the issue date

Description

Construct a merged healthdata data set for a single issue date by pulling from a timeseries update if one is available, or by augmenting the last time series update on or before the issue date with daily updates that were made after the last time series update and on or before the issue date

Usage

build_healthdata_data(
  issue_date,
  healthdata_timeseries_history,
  healthdata_dailyrevision_history
)

Arguments

issue_date

date object for issue date

healthdata_timeseries_history

data.frame of issue_date and data reported that date

healthdata_dailyrevision_history

data.frame of issue_date, date, and data reported

Value

tibble of issue_date and data reported on or by that date


reichlab/covidData documentation built on April 5, 2024, 5 p.m.