Description Usage Arguments Details Value Examples
Returns the requested PRIO GRID variables as a global raster at 0.5 x 0.5 decimal degree resolution.
1 | getPrioRaster(names, years = c())
|
names |
The names of the variables to be transformed into a raster. A warning will be issues for variables that are unavailable. |
years |
An integer vector indicating the years for which the yearly variables should be returned. Ignored for static variables. |
Note that only variables contained in the PRIO GRID csv files linked by the setDataPath
function will
be available. Download the PRIO GRID csv files at http://http://grid.prio.org/#/download.
A list containing (1) a VeloxRaster object and (2) a data frame with meta data about the PRIO GRID variables.
1 2 3 4 5 6 | ## Not run:
prio.ls <- getPrioRaster(names = 'nlights_calib_mean', years = 2005:2010)
vx <- prio.ls$raster
meta.df <- prio.ls$meta
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.