Description Usage Arguments See Also
Create excel sheets with feedback for countries. Returns an excel workbook for each country with one sheet showing missings and another showing threshold flags, as well as recommendations for each. Requires WHO IDSR data which has been prepared using the clean_idsr function, and then run through the missing_checker and threshold_checker functions, and all being stored in a list with a data frame for each country.
1 2 3 4 5 6 | country_feedback(
x,
current_year = 2020,
current_week = 1,
output_path = here::here("Data Files", "Output")
)
|
x |
A list of data frames which has been processed with clean_idsr, missing_checker and threshold_checker. |
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. |
clean_idsr
for preparing IDSR data for use with threshold_checker,
missing_checker
for missing flags and threshold_checker
for threshold flags.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.