Checks if a name is in Flora-On, reading from https://flora-on.pt.
Arguments
- search.name
A
character
with a taxon name.- simple
logical
indicating if the output should be simple (TRUE
) or have more information (FALSE
). Defaults toTRUE
.- author
logical
indicating if the authority should be returned. Defaults toFALSE
.
Value
If simple = TRUE
the function returns TRUE
if the taxon is found
and FALSE
otherwise (NA
is returned for connection problems or for NULL
and NA
searches). If simple = FALSE
the functions returns a vector
with
extra fields coming from Flora-On server. If author = TRUE
information on
the authority is added to the output, but only when simple = FALSE
.
If author = FALSE
, the authority information is omitted from the output.
Details
The function reads from https://flora-on.pt and checks if the given taxon name is in Flora-On server.
Author
Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.