Skip to contents

Runs the obistools gate (check_eventids(), check_extension_eventids(), check_fields(), check_eventdate()) plus the referential and controlled-vocabulary checks the release can make itself. No network: taxon names are checked against the release's own taxon table, not obistools::match_taxa(), which is an interactive WoRMS call.

Usage

dwc_check(event, occurrence = NULL, emof = NULL, dataset_key = NA_character_)

Arguments

event, occurrence, emof

the frames from dwc_event() / dwc_occurrence() / dwc_emof()

dataset_key

named in the findings

Value

A data frame: dataset_key, finding, level, n, detail. One ok row when nothing is found.