List the synonyms for a given nameSource:
When querying the Taxonomic Name Resolution Services for a particular taxonomic name, the API returns as possible matches all names that include the queried name as a possible synonym. This function allows you to explore other synonyms for an accepted name, and allows you to determine why the name you queried is returning an accepted synonym.
# S3 method for match_names
synonyms(tax, row_number, taxon_name, ott_id, ...)
a data frame generated by the
the row number corresponding to the name for which to list the synonyms
the taxon name corresponding to the name for which to list the synonyms
the ott id corresponding to the name for which to list the synonyms
a list whose elements are all synonym names (as vectors of character) for the taxonomic names that match the query (the names of the elements of the list).
To list synonyms for a given taxonomic name, you need to provide
the object resulting from a call to the
tnrs_match_names function, as well as one of either
the row number corresponding to the name in this object, the name
itself (as used in the original query), or the ott_id listed for
this name. Otherwise, the synonyms for all the currently matched
names are returned.