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.


malaria-atlas-project/malariaAtlas documentation built on Nov. 5, 2023, 2:03 p.m.