get_observations: Get Observed Cases linked with Deaths

View source: R/get_observations.R

get_observationsR Documentation

Get Observed Cases linked with Deaths

Description

Get Observed Cases linked with Deaths

Usage

get_observations(dir, target_date = Sys.Date(), weeks = 8, locs)

Arguments

dir

A character string indicating the path to the target data folder.

target_date

Date or character string indicating the target forecast date.

weeks

Numeric, defaults to 8. Number of weeks of data to include.

locs

An optional character vector to use to filter locations by name.

Value

A dataframe of primary and secondary observations


epiforecasts/europe-covid-forecast documentation built on Jan. 15, 2025, 8:57 p.m.