This function is called by the cov_access module and downloads data on accessibility using data from the Malaria Atlas Project.
cov_access(shape, layer, async = FALSE)
a SpatRaster object
if (FALSE) { # \dontrun{
x_min <- 0
x_max <- 0.5
y_min <- 52
y_max <- 52.5
poly_matrix <- matrix(c(x_min, x_min, x_max, x_max, x_min,
y_min, y_max, y_max, y_min, y_min), ncol = 2)
poly <- sf::st_polygon(list(poly_matrix))
shape <- sf::st_sf(1, geometry = list(poly))
sf::st_crs(shape) = 4326
raster <- cov_access(shape = shape,
layer = "Travel Time to Cities (2015)")
} # }