Title: | Malaria Cartographic Information |
---|---|
Description: | Extract population, prevalence and vector cartographic information for use with malarisimulation. |
Authors: | Pete Winskill [aut, cre] |
Maintainer: | Pete Winskill <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0 |
Built: | 2024-10-09 04:31:09 UTC |
Source: | https://github.com/mrc-ide/cart |
Downloads the unconstrained individual countries 2000-2020 UN adjusted (1km resolution) from the WorldPop server.
get_pop(iso3c, year)
get_pop(iso3c, year)
iso3c |
Country iso3c code |
year |
Year of prevalence outputs |
Population raster
Downloads the specified malaria atlas project prevalence rasters.
get_prev(prevalence_rasters, year, pop)
get_prev(prevalence_rasters, year, pop)
prevalence_rasters |
List of prevalence rasters. See
|
year |
Year of prevalence outputs |
pop |
Population raster |
A List of prevalence rasters.
Downloads the specified malaria atlas project spatial limits of transmission rasters.
get_spatial_limits(spatial_limits_rasters, pop)
get_spatial_limits(spatial_limits_rasters, pop)
spatial_limits_rasters |
List of spatial distribution limits rasters.
Default is for both falciparum and vivax. See
|
pop |
Population raster |
A List of spatial limits rasters.
Downloads the specified malaria atlas project vector species rasters.
get_vectors(vector_rasters, year, pop)
get_vectors(vector_rasters, year, pop)
vector_rasters |
List of vector species rasters.
See |
year |
Year of prevalence outputs |
pop |
Population raster |
A List of vector species rasters.
Pull cartographic information
pull_cart( iso3c, year, vector_rasters = list(funestus = "Anopheles funestus", arabiensis = "Anopheles arabiensis Patton, 1905", gambiae = "Anopheles gambiae Giles, 1902"), prevalence_rasters = list(pfpr = "Plasmodium falciparum PR2 - 10 version 2020", pvpr = "Plasmodium vivax PR1-99 version 2020"), spatial_limits_rasters = list(pf_limits = "Plasmodium falciparum Spatial Limits", pv_limits = "Plasmodium vivax Spatial Limits") )
pull_cart( iso3c, year, vector_rasters = list(funestus = "Anopheles funestus", arabiensis = "Anopheles arabiensis Patton, 1905", gambiae = "Anopheles gambiae Giles, 1902"), prevalence_rasters = list(pfpr = "Plasmodium falciparum PR2 - 10 version 2020", pvpr = "Plasmodium vivax PR1-99 version 2020"), spatial_limits_rasters = list(pf_limits = "Plasmodium falciparum Spatial Limits", pv_limits = "Plasmodium vivax Spatial Limits") )
iso3c |
Country iso3c code |
year |
Year of prevalence outputs |
vector_rasters |
List of vector species rasters.
See |
prevalence_rasters |
List of prevalence rasters. See
|
spatial_limits_rasters |
List of spatial distribution limits rasters.
Default is for both falciparum and vivax. See
|
A raster stack
Extract information from rasters
unpack_cart(iso3c_sf, stack)
unpack_cart(iso3c_sf, stack)
iso3c_sf |
A simple feature shape file to extract for |
stack |
The raster stack from |
Tibble with list columns of raw extracted values