# \donttest{
download_worldpop_data(iso3 = 'MCO',
year = 2020,
constrained = TRUE,
UN_adjusted = FALSE,
path_output = tempdir())
get_population_radius(lon = c(7.416, 7.434),
lat = c(43.734, 43.747),
radius = 100,
path_pop_raster = file.path(tempdir(), 'mco_ppp_2020_constrained.tif'),
path_output = tempdir())
# }
Run the code above in your browser using DataLab