weekly_summary: Create an excel summary report of data submitted for week by...

Description Usage Arguments See Also

View source: R/weeksummary.R

Description

Create an excel summary report of data submitted for week by each country.

Usage

1
2
3
4
5
6
weekly_summary(
  x,
  current_year = 2020,
  current_week = 1,
  output_path = here::here("Data Files", "Output")
)

Arguments

x

A data frame of IDSR data which has been created from aggregator

current_year

The year of interest as numeric (e.g. the default is 2020)

current_week

The week of interest as numeric. The default is 1. Values less than 10 are padded with leading zeros, e.g. 1 becomes 01. (You could also enter 01 and it would be fine)

output_path

File path where you would like outputs to be saved to. Within this folder a new folder will be created and named after the current week. This defaults to your current directory, with subfolders of data > outputs > verification. The year folder needs to exist already - only the current week folder will be created.

See Also

clean_idsr for preparing IDSR data for use with threshold_checker, missing_checker for missing flags and threshold_checker for threshold flags.


R4IDSR/epichecks documentation built on Sept. 18, 2021, 2:03 p.m.