View source: R/extractRaster.R
extractLayerValues | R Documentation |
Returns a data.frame of the extracted raster values with columns for layerName, year, value, long and lat.
extractLayerValues(points_to_query, dataset_id, year)
points_to_query |
matrix of points to get raster data for, with first column being the latitude and second being the longitude. |
dataset_id |
character representing the dataset id. |
year |
either a single year, or a list of years, or NA. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.