| build_ott | R Documentation |
Rebuild the Open Tree Taxonomy snapshot
build_ott(
version = format(Sys.Date(), "%Y"),
archive = NULL,
ott_version = "3.7.3",
dir = build_dir(),
db = td_connect()
)
version |
snapshot version to write, e.g. |
archive |
path to the OTT release archive; downloaded if missing |
ott_version |
the OTT release to build from, e.g. |
dir |
directory for build inputs and outputs |
db |
a duckdb connection |
OTT ships taxonomy.tsv and synonyms.tsv, both delimited with
â \\t|\\tâ . synonyms.tsv keys each synonym to the uid of the name it is
a synonym of: OTT mints no identifier for the synonym itself, so those
rows carry a NULL taxonID, which the taxadb rules allow.
OTT no longer populates the type column of synonyms.tsv â it is empty
for all 2.2 million rows in release 3.7.3 â so a synonym is recorded as
synonym unless a type is given.
OTT publishes no vernacular names, so there is no common table for this
provider; filter_common() warns accordingly.
the paths written, invisibly
Other build:
build_col(),
build_fishbase(),
build_gbif(),
build_itis(),
build_ncbi()
## Not run:
build_ott("2026")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.