
Calculate final country-prioritization scores and output table
calculate_GSAP_ctry_prioritization.RdApplies the legacy country-prioritization scoring thresholds and weights to the analyzed data. The result contains the final output columns used by the country-prioritization workbook.
Usage
calculate_GSAP_ctry_prioritization(
analyzed_data,
previous_risk_table = NULL,
min_surv_ind = 4,
include_all_countries = FALSE
)Arguments
- analyzed_data
Output of
analyze_GSAP_ctry_prioritization_data().- previous_risk_table
Optional table containing the previous GPSAP country categories. Defaults to the risk table carried in
analyzed_data.- min_surv_ind
Minimum number of the seven surveillance indicators required for a complete score. Defaults to
4.- include_all_countries
logicalRetain every country present in the AFP data, even when it has fewer thanmin_surv_indindicators. Such countries receiveinsufficient datafor the affected scores. Defaults toFALSE.