process_population | R Documentation |
The process_secac_population()
function imports and cleans raw
population density data, returning a single SpatRaster
object.
process_population(path = NULL, extent = NULL, ...)
path |
character(1). Path to GeoTIFF (.tif) or netCDF (.nc) file. |
extent |
numeric(4) or SpatExtent giving the extent of the raster
if |
... |
Placeholders. |
a SpatRaster
object
Mitchell Manware
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
## Not run:
pop <- process_population(
path = "./data/sedac_population_example.tif"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.