param_check: Internal function to check passed parameters.

View source: R/param_check.R

param_checkR Documentation

Internal function to check passed parameters.

Description

Functions get_site, get_dataset and others pass parameters to param_check, which tells them if there's a problem.

Usage

param_check(cl)

Arguments

cl

Contact ID is a numerical value associated with the Neotoma Contact table's numerical Contact ID.

Value

A list with two components:

flag

Returns a 0 if everything's fine, a 1 if there's a problem.

message

A list of error messages.

Author(s)

Simon J. Goring simon.j.goring@gmail.com

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://wnapi.neotomadb.org/doc/resources/contacts


ropensci/neotoma documentation built on Dec. 6, 2022, 6:26 p.m.