subspeciesOccQuery: Pull Subspecies Occurrences

View source: R/IdentifyBirdSubspecies.R

subspeciesOccQueryR Documentation

Pull Subspecies Occurrences

Description

This function uses spocc::occ to query GBIF and other repositories for one species and N number of subspecies, specified by the user. Returns a list of occurrence record objects. Note: currently only tested for N=2 and N=3 subspecies.

Usage

subspeciesOccQuery(
  spp,
  subsppList = NULL,
  pointLimit = 500,
  dbToQuery = c("gbif", "bison", "inat", "ecoengine", "vertnet"),
  ...
)

Arguments

spp

Genus and species to query, as string

subsppList

Strings of subspecies to query

pointLimit

Maximum point limit to return for each database – see spocc::occ

dbToQuery

List of databases to search through – see spocc::occ

Examples


listFromSubspeciesOcc = subspeciesOccQuery(spp="Cardinalis sinuatus",
   subsppList=c("sinuatus","peninsulae","fulvescens"),pointLimit=100,
   dbToQuery="gbif")

kaiyaprovost/subsppLabelR documentation built on March 17, 2024, 5:09 p.m.