Skip to contents

Checks if a name is in Flora-On, reading from https://flora-on.pt.

Usage

FloraOn_is_in(search.name, simple = TRUE, author = FALSE)

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 to TRUE.

author

logical indicating if the authority should be returned. Defaults to FALSE.

Value

If simple = TRUE the function returns TRUE if the taxon is found and FALSE otherwise (NA is returned for connection problems or for NULLand 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.