Skip to contents

Filters country specific data from the CDC generated raw.data object from get_all_polio_data().

Usage

extract_country_data(.country, .raw.data = raw.data)

Arguments

.country

str A string or a vector of strings containing country name(s) of interest. Case insensitive.

.raw.data

list Output of get_all_polio_data().

Value

Named list with country specific datasets.

Examples

if (FALSE) { # \dontrun{
raw.data <- get_all_polio_data(attach.spatial.data = FALSE)
ctry.data <- extract_country_data(c("nigeria", "eritrea"), raw.data)
} # }