asw_search: Search the Amphibian Species of the World database (Species...

asw_searchR Documentation

Description

This function searches species accounts on the ASW website and returns all available information listed. This currently works only at the species level, not higher taxonomic levels. The URL for a specific species account can be used as the query, or alternatively, the binomial species name. For the latter, unless specified otherwise, the function will look up the species' URL based on the information stored in AmphiNom's internal records, which may be outdated.

Usage

asw_search(query, asw_taxonomy = AmphiNom::asw_taxonomy)

Arguments

query

search term. Binomial species name either separated by a space or "_"

asw_taxonomy

version of taxonomy to use (output of get_taxonomy()). By default, internally stored version is used (which may be out of data)

Value

returns all available information in list form

Examples

asw_search(query="Pleurodeles waltl")
asw_search(query="https://amphibiansoftheworld.amnh.org/Amphibia/Caudata/Salamandridae/Pleurodelinae/Pleurodeles/Pleurodeles-waltl")

hcliedtke/AmphiNom documentation built on Nov. 8, 2024, 8:10 a.m.