
Extract vaccine coverage information from IHME estimates
update_vacc_cov_data.RdFunction to extract IHME vaccine coverage data to existing spatial files. Key spatial data can be found here.
Please keep in mind that these sources may change. Reach out to IHME directly for further information.
Enter your email to gain access to the data folder.
Inside the data folder go to Geospatial Vaccine Coverage > 04_Rasters.
Download the following geotifs and place them into a single folder in your local machine:
bcg1_cov_mean_raked_2000_<current year>.tifdpt1_cov_mean_raked_2000_<current year>.tifdpt3_cov_mean_raked_2000_<current year>.tifmcv1_cov_mean_raked_2000_<current year>.tifpolio3_cov_mean_raked_2000_<current year>.tif
NOTE: <current year> will change as the vaccine coverage data gets updated.
Usage
update_vacc_cov_data(
tif_folder,
ctry = load_clean_ctry_sp(),
prov = load_clean_prov_sp(),
dist = load_clean_dist_sp(),
output_folder = "GID/PEB/SIR/Data/coverage",
edav = TRUE,
output_format = ".rds"
)Arguments
- tif_folder
strAbsolute folder path to the folder containing all .TIFs of interest.- ctry
sfOutput ofload_clean_ctry_sp().- prov
sfOutput ofload_clean_prov_sp().- dist
sfOutput ofload_clean_dist_sp().- output_folder
strAbsolute folder path location to save country, province and district coverage data. Outputs in RDS by default, but also supports.qs2format.- edav
logicalTRUEorFALSEdepending on if final save location is in Azure. Defaults toTRUE.- output_format
str'.rds' or '.qs2'.
Examples
if (FALSE) { # \dontrun{
ctry_sf <- load_clean_ctry_sp()
prov_sf <- load_clean_prov_sp()
dist_sf <- load_clean_dist_sp()
update_vacc_cov_data(
"C:/Users/abc1/Desktop/tif_folder",
ctry_sf, prov_sf, dist_sf,
FALSE, "C:/Users/abc1/Desktop/tif_folder"
)
} # }