View source: R/worldpop_data.R
load_worldpop | R Documentation |
Function to get population data from a worldpop .tif and geounit shapefile This function extracts raster values for overlayed polygons
load_worldpop(wp_file, shp)
wp_file |
WorldPop population file path for the country of interest |
shp |
Shapefile file path for shapefile of geunits (i.e., admin2) |
WorldPop (https://www.worldpop.org/geodata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.