Last chance! 50% off unlimited learning
Sale ends in
eol_search
to find pages
that deal with the species of interest, then use eol_pages
to find the actual taxon IDs.get_eolid(sciname, ask = TRUE, verbose = TRUE, key = NULL, rows = NA,
...)as.eolid(x, check = TRUE)
## S3 method for class 'eolid':
as.eolid(x, check = TRUE)
## S3 method for class 'character':
as.eolid(x, check = TRUE)
## S3 method for class 'list':
as.eolid(x, check = TRUE)
## S3 method for class 'numeric':
as.eolid(x, check = TRUE)
## S3 method for class 'data.frame':
as.eolid(x, check = TRUE)
## S3 method for class 'eolid':
as.data.frame(x, ...)
get_eolid_(sciname, verbose = TRUE, key = NULL, rows = NA, ...)
get_eolid_
toas.eolid
as.eolid
get_tsn
, get_uid
,
get_tpsid
get_eolid(sciname='Pinus contorta')
get_eolid(sciname='Puma concolor')
get_eolid(c("Puma concolor", "Pinus contorta"))
# specify rows to limit choices available
get_eolid('Poa annua')
get_eolid('Poa annua', rows=1)
get_eolid('Poa annua', rows=2)
get_eolid('Poa annua', rows=1:2)
# When not found
get_eolid(sciname="uaudnadndj")
get_eolid(c("Chironomus riparius", "uaudnadndj"))
# Convert a eolid without class information to a eolid class
as.eolid(get_eolid("Chironomus riparius")) # already a eolid, returns the same
as.eolid(get_eolid(c("Chironomus riparius","Pinus contorta"))) # same
as.eolid(24954444) # numeric
as.eolid(c(24954444,51389511,57266265)) # numeric vector, length > 1
as.eolid("24954444") # character
as.eolid(c("24954444","51389511","57266265")) # character vector, length > 1
as.eolid(list("24954444","51389511","57266265")) # list, either numeric or character
## dont check, much faster
as.eolid("24954444", check=FALSE)
as.eolid(24954444, check=FALSE)
as.eolid(c("24954444","51389511","57266265"), check=FALSE)
as.eolid(list("24954444","51389511","57266265"), check=FALSE)
(out <- as.eolid(c(24954444,51389511,57266265)))
data.frame(out)
as.eolid( data.frame(out) )
# Get all data back
get_eolid_("Poa annua")
get_eolid_("Poa annua", rows=2)
get_eolid_("Poa annua", rows=1:2)
get_eolid_(c("asdfadfasd","Pinus contorta"))
Run the code above in your browser using DataLab