climate_from_xy: Extract The climate values associated to a set of...

View source: R/dbGetClimateXY.R

climate_from_xyR Documentation

Extract The climate values associated to a set of coordinates.

Description

Extract The climate values associated to a set of coordinates.

Usage

climate_from_xy(
  long,
  lat,
  climate = accClimateVariables()[, 2],
  resol = 0.25,
  dbname = "gbif4crest_02"
)

Arguments

long

The longitude of the site.

lat

The latitude of the site.

climate

The climate variables to extract the values from. Returns all possible values by default.

resol

The resolution of the target climatology (default 0.25 degrees).

dbname

The name of the data source database.

Value

A data frame containing the climate values.

Examples

## Not run: 
  climate_from_xy(50, 10, c('bio1', 'ai'))
  climate_from_xy(50, 10)

## End(Not run)


crestr documentation built on Jan. 6, 2023, 5:23 p.m.