
Last chance! 50% off unlimited learning
Sale ends in
Coerce occurrence keys to antwebkey/occkey objects
as.antweb(x, ...)
curl options; named parameters passed on to crul::HttpClient()
One or more in a list of both class antwebkey and occkey
# NOT RUN {
spp <- c("linepithema humile", "acanthognathus")
out <- occ(query=spp, from='antweb', limit=2)
res <- occ2df(out)
(tt <- as.antweb(out))
(uu <- as.antweb(res))
as.antweb(res$key[1])
as.antweb(as.list(res$key[1:2]))
as.antweb(tt[[1]])
as.antweb(uu[[1]])
as.antweb(tt[1:2])
# }
Run the code above in your browser using DataLab