check_assertions: Check assertions in occurrences object

Description Usage Arguments Value Author(s) References Examples

View source: R/check_assertions.R

Description

This provides a data.frame detailing the assertions that are found in a dataset returned from occurrences.

Usage

1

Arguments

x

list: an object returned from occurrences

Value

A dataframe of assertions column names, descriptions and categories/error codes. If no assertions are in the dataset, NULL is returned.

Author(s)

Atlas of Living Australia support@ala.org.au

References

http://api.ala.org.au/

http://biocache.ala.org.au/ws/assertions/codes

Examples

1
2
3
4
#download species data with all possible assertions
x=occurrences(taxon="golden bowerbird",download_reason_id=10,qa=ala_fields('assertions')$name)
asserts = check_assertions(x) #data.frame of assertions, their description and column names
asserts[0:86,5] # List out descriptions of all (current) assertions

jjvanderwal/ALA4R documentation built on May 19, 2019, 11:40 a.m.