find_synonyms {SP2000}R Documentation

Find synonyms via species name

Description

Find synonyms via species name from Catalogue of Life Global.

Usage

find_synonyms(query, mc.cores = 2)

Arguments

query

character species name,The function is similar to get_col_global.

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 mclapply for details.

Details

Visit the website http://webservice.catalogueoflife.org/col/webservice for more details.

Value

object

Author(s)

Liuyong Ding ly_ding@126.com

References

https://github.com/lutteropp/SpeciesSynonymFinder/blob/master/find_synonyms.r

Examples

## Not run: 
##Get Catalogue of Life Global checklist via species name
x1 <- get_col_global(query = c("Anguilla marmorata","Anguilla japonica",
                              "Anguilla bicolor","Anguilla nebulosa",
                              "Anguilla luzonensis"),
                               option = "name")
str(x1)

##full queries
x2 <- get_col_global(query = "Anguilla", response = "full")


##Find synonyms via species name
find_synonyms(query = c("Anguilla marmorata","Anguilla japonica",
                        "Anguilla bicolor","Anguilla nebulosa",
                        "Anguilla luzonensis"))

## End(Not run)

[Package SP2000 version 0.2.0 Index]