load_worldpop: Function to get population data from a worldpop .tif and...

View source: R/worldpop_data.R

load_worldpopR Documentation

Function to get population data from a worldpop .tif and geounit shapefile This function extracts raster values for overlayed polygons

Description

Function to get population data from a worldpop .tif and geounit shapefile This function extracts raster values for overlayed polygons

Usage

load_worldpop(wp_file, shp)

Arguments

wp_file

WorldPop population file path for the country of interest

shp

Shapefile file path for shapefile of geunits (i.e., admin2)

References

WorldPop (https://www.worldpop.org/geodata)


HopkinsIDD/globaltoolboxlite documentation built on Jan. 12, 2024, 5:49 a.m.