# 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