download_rst {malariaAtlas} | R Documentation |
Download rasters from the MAP geoserver to a specifed location. If file already exists it will read it instead.
Description
Download rasters from the MAP geoserver to a specifed location. If file already exists it will read it instead.
Usage
download_rst(dataset_id, extent, year, file_name, file_path)
Arguments
dataset_id |
ID for dataset on MAP geoserver |
extent |
desired raster extent |
year |
desired year to download |
file_name |
file name (excluding extension) to save raster to |
file_path |
path to save raster to |
Value
SpatRaster
[Package malariaAtlas version 1.6.1 Index]