occ_options: Look up options for parameters passed to each source

View source: R/occ_options.r

occ_optionsR Documentation

Look up options for parameters passed to each source

Description

Look up options for parameters passed to each source

Usage

occ_options(from = "gbif", where = "console")

Arguments

from

(character) Data source to get data from, any combination of gbif, ebird, idigibio and/or vertnet. Case doesn't matter. inat is not included here, see that package's help docs.

where

(character) One of console (print to console) or html (opens help page, if in non-interactive R session, prints help to console).

Details

Any of the parameters passed to e.g. rgbif::occ_data() from the rgbif package can be passed in the associated gbifopts list in occ()

Note that the from parameter is lowercased within the function and is called through match.arg first, so you can match on unique partial strings too (e.g., 'rv' for 'rvertnet').

Value

Opens up the documentation for the function that is used internally within the occ function for each source.

See Also

Other queries: occ(), occ_names(), occ_names_options(), spocc_objects

Examples

## Not run: 
# opens up documentation for this function
occ_options()

# Open up documentation for the appropriate search function for each source
occ_options('gbif')
occ_options('ebird')
occ_options('idigbio')
occ_options('vertnet')

# Or open in html version
occ_options('gbif', 'html')

## End(Not run)

ropensci/spocc documentation built on March 10, 2024, 4:27 a.m.