spectre.points {gecko}R Documentation

Get SPECTRE data from points.

Description

Downloads SPECTRE layer data according to a selection of points.

Usage

spectre.points(index, points)

Arguments

index

numeric. A vector of integers specifying the layers. Refer to the documentation of gecko::spectre.citations() for a list of available layers.

points

data.frame or matrix. Containing point data coordinates, organized in longitude, latitude (longlat).

Value

data.frame or matrix. Contains both the points given as well as their respective values for each layer specified.

Examples

## Not run: 
localities = gecko.data("records")
local_threats = spectre.points(c(2,3), localities)

## End(Not run)

[Package gecko version 1.0.0 Index]