
Generate diagnostic checks workbook
generate_checks.RdCreates the core surveillance diagnostic tables and optional expanded KPI check sheets. The same function can be used by the country-prioritization and KPI workflows.
Usage
generate_checks(
raw_data,
start_date,
end_date,
output_path = NULL,
missing_agemonths = TRUE,
include_details_inconsisten_GUIDs = FALSE
)Arguments
- raw_data
listOutput ofget_all_polio_data().- start_date
Dateor date-like string. Start of the analysis period.- end_date
Dateor date-like string. End of the analysis period.- output_path
Optional Excel output path. If
NULL, no workbook is written.- missing_agemonths
logicalWhether district NPAFP eligibility checks include cases with missingage.months. Defaults toTRUE, matching the country-prioritization calculation.- include_details_inconsisten_GUIDs
logicalWhether to include the optionalC1_Checkssheet containing inconsistent GUID details. Defaults toFALSE.