Learn R Programming

EpiNow2 (version 1.1.0)

summarise_key_measures: Summarise rt and cases

Description

Summarise rt and cases

Usage

summarise_key_measures(
  regional_results,
  results_dir,
  summary_dir,
  type = "region",
  date
)

Arguments

regional_results

A list of dataframes as produced by get_regional_results

results_dir

Character string indicating the directory from which to extract results.

summary_dir

Character string the directory into which to save results as a csv.

type

Character string, the region identifier to apply (defaults to region).

date

A Character string (in the format "yyyy-mm-dd") indicating the date to extract data for. Defaults to "latest" which finds the latest results available.

Value

A list of summarised Rt, cases by date of infection and cases by date of report