is_datelife_result_empty: Check if we obtained an empty search with the given taxon...

View source: R/datelife_search.R

is_datelife_result_emptyR Documentation

Check if we obtained an empty search with the given taxon name(s).

Description

Check if we obtained an empty search with the given taxon name(s).

Usage

is_datelife_result_empty(datelife_result, use_tnrs = FALSE)

Arguments

datelife_result

A datelifeResult object, usually an output of get_datelife_result().

use_tnrs

Whether to use Open Tree of Life's Taxonomic Name Resolution Service (TNRS) to process input taxon names. Default to TRUE, it corrects misspellings and taxonomic name variations with tnrs_match(), a wrapper of rotl::tnrs_match_names().

Value

Boolean. If TRUE, no chronograms were found for the given taxon name(s). If FALSE, the chronogram search was successful.


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.