getRasterDatasetIdFromSurface: Gets the rasters dataset id, given a surface (title). If more...

View source: R/ows4r_utils.R

getRasterDatasetIdFromSurfaceR Documentation

Gets the rasters dataset id, given a surface (title). If more than one rasters have that surface/title, then the one with the most recent version is selected. If there are no matches, the program will stop with a relevant message.

Description

Gets the rasters dataset id, given a surface (title). If more than one rasters have that surface/title, then the one with the most recent version is selected. If there are no matches, the program will stop with a relevant message.

Usage

getRasterDatasetIdFromSurface(rasterList, surface)

Arguments

rasterList

data.frame containing available raster information, as returned by listRaster().

surface

character that is the surface/title of the raster.

Value

character that is the dataset id of the raster that matches the given surface.


malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.