View source: R/layers-raster.R
| mn_population | R Documentation |
Estimated population per grid cell from WorldPop (2015 to 2030, constrained
to built-up areas), at 1 km or 100 m. The national file for the year is
downloaded once from WorldPop (0.4 MB at 1 km, 11 MB at 100 m) and cached.
Use mn_zonal() to sum it over aimags, soums or khoroos.
mn_population(
year = 2025,
resolution = c("1km", "100m"),
within = NULL,
mask = TRUE,
crs = NULL
)
year |
A year from 2015 to 2030 (years after the last census are projections). |
resolution |
|
within |
Area to return (names or codes). Required for the online
resolutions: |
mask |
If |
crs |
Coordinate reference system of the result. |
A terra SpatRaster of people per cell.
WorldPop (www.worldpop.org), Global 2015-2030 constrained population counts, release R2025A. CC BY 4.0.
Other raster layers:
mn_elevation(),
mn_landcover(),
mn_zonal()
pop <- mn_population(2025)
terra::plot(log10(pop))
mn_zonal(pop, mn_aimags())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.