| build_itis | R Documentation |
Rebuild the ITIS snapshot
build_itis(
version = format(Sys.Date(), "%Y"),
archive = NULL,
dir = build_dir(),
db = td_connect()
)
version |
snapshot version to write, e.g. |
archive |
path to the ITIS SQLite archive; downloaded if missing |
dir |
directory for build inputs and outputs |
db |
a duckdb connection |
ITIS distributes a SQLite database, which duckdb reads directly.
n_usage carries the accepted/synonym distinction under two vocabularies,
zoological (valid/invalid) and botanical (accepted/not accepted);
both map onto accepted and synonym.
ITIS assigns a TSN to synonyms as well as accepted names, so every row
here carries its own taxonID – which makes ITIS the reference for the
taxadb rules checked by td_validate().
scientificNameAuthorship is taken from ITIS's own author table, keyed on
the author id together with the kingdom, since the id is only unique within
one.
the paths written, invisibly
Other build:
build_col(),
build_fishbase(),
build_gbif(),
build_ncbi(),
build_ott()
## Not run:
build_itis("2026")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.