motusListSpecies: return a list of species IDs for the given codes or names

Description Usage Arguments Value Author(s)

Description

return a list of species IDs for the given codes or names

Usage

1
2
motusListSpecies(qstr = NULL, nrec = NULL, group = "BIRDS",
  qlang = c("all", "EN", "FR", "SC", "CD"), ...)

Arguments

qstr

[optional] Query string to filter the list of species (e.g. Warbler or YRWA). Unless the language parameter is specified, this will search within the following fields and return all possible hits: English name, French name, Scientific name and Species code.

nrec

maximum number of records returned by the request (max: 20,000); default 100

group

[optional] Taxonomic group used to search for species names( e.g. BIRDS). Refer to the listspeciesgroups entry points for values. When not provided, search among entire species taxonomy. Default: "BIRDS"

qlang

[optional] The language used to search for species. One of the following possible values: EN (English), FR (French), SC (Scientific), CD (Species code).

...

[optional] extra parameters for motusQuery()

Value

if any matches were found, they are returned as a dataframe with these columns:

  1. id; integer ID of species

  2. english character; english-language name of species

  3. french character; french-language name of species

  4. scientific character; scientific name of species

  5. group character; e.g. "BIRDS"

  6. sort integer sorting order

Otherwise, NULL is returned.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.