
Calculate EV detection rate function
f.ev.rate.01.RdFunction to calculate the EV detection rate in sites from POLIS.
Arguments
- es.data
tibbleES data which includes site name (site.name), country (ADM0_NAME), date of collection (collect.date), and a binary ev detection variable (ev.detect) that indicates absence/presence (0, 1) of enterovius in an ES sample. This isctry.data$esofextract_country_data()orinit_dr(), orraw.data$esofget_all_polio_data().- start.date
strDate in the format of"YYYY-MM-DD".- end.date
strDate in the format of"YYYY-MM-DD".
Examples
if (FALSE) { # \dontrun{
raw.data <- get_all_polio_data(attach.spatial.data = FALSE)
ctry.data <- extract_country_data("algeria", raw.data)
ev_rates <- f.ev.rate.01(ctry.data$es, "2021-01-01", "2023-12-31")
} # }