View source: R/atlas_taxonomy.R
atlas_taxonomy | R Documentation |
The ALA has its' own internal taxonomy that is derived from authoritative
sources. atlas_taxonomy
provides a means to query
that taxonomy, returning a tibble
showing all child nodes and which parent
they are derived from.
atlas_taxonomy(
request = NULL,
identify = NULL,
filter = NULL,
constrain_ids = NULL
)
request |
optional |
identify |
|
filter |
|
constrain_ids |
|
The approach used by this function is recursive, meaning that it
becomes slow for large queries such as
atlas_taxonomy(search_taxa("Plantae"), down_to = galah_down_to(species))
.
Although the inputs to search_taxa
and down_to
are
case-insensitive, node names are always returned in title case.
A tibble
containing taxon names, ranks and parent/child IDs
search_taxa()
to search for an individual taxon;
show_all(ranks)
for valid ranks used to specify the down_to
argument.
## Not run:
# Get a taxonomic tree of *Chordata* down to the class level
galah_call() |>
galah_identify("chordata") |>
galah_filter(rank == class) |>
atlas_taxonomy()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.