td_create | R Documentation |
create a local taxonomic database
td_create(
provider = getOption("taxadb_default_provider", "itis"),
schema = c("dwc", "common"),
version = latest_version(),
overwrite = NULL,
lines = NULL,
dbdir = NULL,
db = td_connect()
)
provider |
a list (character vector) of provider(s) to be included in the
database. By default, will install |
schema |
One of "dwc" (for Darwin Core data) or "common" (for the Common names table.) |
version |
Which version of the taxadb provider database should we use? defaults to latest. See tl_import for details. |
overwrite |
Should we overwrite existing tables? Default is |
lines |
number of lines that can be safely read in to memory at once. Leave at default or increase for faster importing if you have plenty of spare RAM. |
dbdir |
a location on your computer where the database
should be installed. Defaults to user data directory given by
|
db |
connection to a database. By default, taxadb will set up its own fast database connection. |
Authorities currently recognized by taxadb are:
itis
: Integrated Taxonomic Information System, https://www.itis.gov
ncbi
: National Center for Biotechnology Information,
https://www.ncbi.nlm.nih.gov/taxonomy
col
: Catalogue of Life, http://www.catalogueoflife.org/
gbif
: Global Biodiversity Information Facility, https://www.gbif.org/
ott
: OpenTree Taxonomy:
https://github.com/OpenTreeOfLife/reference-taxonomy
iucn
: IUCN Red List, https://iucnredlist.org
itis_test
: a small subset of ITIS, cached locally with the package for testing purposes only
path where database has been installed (invisibly)
## Install the ITIS database
td_create()
## force re-install:
td_create( overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.