Description Usage Arguments Format Details Value Author(s) Examples
View source: R/search_taxon_id.R
Search taxon IDs via familyID ,scientificName and commonName.
1 2 3 4 5 6 7 | search_taxon_id(
query = NULL,
name = "scientificName",
start = 1,
limit = 20,
mc.cores = 2
)
|
query |
|
name |
|
start |
|
limit |
|
mc.cores |
The number of cores to use, i.e. at most how many child processes will be run simultaneously. The option is initialized from environment variable MC_CORES if set. Must be at least one, and parallelization requires at least two cores,see |
query:
an array of species' ids
family ID, unique value
the scientific name, or part of the scientific name, supports Latin names and Chinese
common name, or part of common name
Visit the website http://sp2000.org.cn/api/document for more details
dataframe
Liuyong Ding ly_ding@126.com
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
##Set your key
set_search_key("your apiKey",db = "sp2000")
##Search family IDs via family name
familyid <- search_family_id(query = "Anguillidae")
##Search taxon IDs via familyID
taxonid <- search_taxon_id(query = familyid$Anguillidae$data$record_id,name = "familyID")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.