get_zomer_pet: Extract PET from the CGIAR-CSI database

Description Usage Arguments Examples

View source: R/get_zomer_pet.R

Description

To allow extraction of PET from the CGIAR-CSI Global aridity and PET database (http://www.cgiar-csi.org/data/global-aridity-and-pet-database), you must manually download the file 'Global PET - Annual.zip' from the above url (follow 'Download from the HarvestChoice Dropbox'), and unzip it in some directory. Then set the path with options() as shown below in the examples.

Usage

1

Arguments

data

Dataframe with longitude, latitude

Examples

1
2
3
4
5
6
## Not run: 
options(zomerpetpath="path/to/zomer")
dat <- data.frame(longitude=c(150,145,140), latitude=c(-33,-33,-33))
get_zomer_pet(dat)

## End(Not run)

RemkoDuursma/speciesmap documentation built on Feb. 24, 2018, 3:39 p.m.