Learn R Programming

malariaAtlas (version 1.6.3)

getRasterDatasetIdFromSurface: 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)

Value

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

Arguments

rasterList

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

surface

character that is the surface/title of the raster.