# \donttest{
# Download the population grid for epoch 2000 for specific tiles
download_GHSLdata(
output_directory = tempdir(),
filename = "POP_2000.tif",
products = "POP",
extent = c("R3_C19", "R4_C19"),
epoch = 2000,
)
# \dontshow{
unlink(file.path(tempdir(), 'POP_2000.tif'))
unlink(file.path(tempdir(), 'POP_2000.json'))
# }
# }
Run the code above in your browser using DataLab