extractLayerValues: Returns a data.frame of the extracted raster values with...

View source: R/extractRaster.R

extractLayerValuesR Documentation

Returns a data.frame of the extracted raster values with columns for layerName, year, value, long and lat.

Description

Returns a data.frame of the extracted raster values with columns for layerName, year, value, long and lat.

Usage

extractLayerValues(points_to_query, dataset_id, year)

Arguments

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.


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