Retrieve a population count SpatRaster
Source:R/SVEIRD.BayesianDataAssimilation.R
getCountryPopulation.SpatRaster.Rd
Retrieve a SpatRaster useful for spatiotemporal epidemic compartmental modelling.
Value
A SpatRaster of WorldPop population count data with the layer name "Population", with all NAs replaced by zeros.
Examples
getCountryPopulation.SpatRaster("COD")
#> class : SpatRaster
#> dimensions : 2261, 2289, 1 (nrow, ncol, nlyr)
#> resolution : 0.008333333, 0.008333333 (x, y)
#> extent : 12.20708, 31.28208, -13.45042, 5.39125 (xmin, xmax, ymin, ymax)
#> coord. ref. : lon/lat WGS 84 (EPSG:4326)
#> source(s) : memory
#> varname : cod_ppp_2020_1km_Aggregated_UNadj
#> name : Population
#> min value : 0.00
#> max value : 83281.66