as.ala

0th

Percentile

Coerce occurrence keys to ALA id objects

Coerce occurrence keys to ALA id objects

Usage
as.ala(x, ...)
Arguments
x

Various inputs, including the output from a call to occ() (class occdat), occ2df() (class data.frame), or a list, numeric, alakey, or occkey.

...

curl options; named parameters passed on to crul::HttpClient()

Value

One or more in a list of both class alakey and occkey

See Also

Other coercion: as.bison(), as.ecoengine(), as.gbif(), as.idigbio(), as.inat(), as.obis(), as.vertnet()

Aliases
  • as.ala
Examples
# NOT RUN {
spnames <- c('Barnardius zonarius', 'Grus rubicunda', 'Cracticus tibicen')
out <- occ(query=spnames, from='ala', limit=2)
(res <- occ2df(out))
(tt <- as.ala(out))
as.ala(x = res$key[1])
# }
Documentation reproduced from package spocc, version 1.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.