check_fields: Check if the required and recommended OBIS fields are...

View source: R/check_fields.R

check_fieldsR Documentation

Check if the required and recommended OBIS fields are present.

Description

Missing or empty required fields are reported as errors, missing or empty recommended fields are reported as warnings.

Usage

check_fields(data, level = "error")

Arguments

data

The data frame.

level

The level of error reporting, i.e. "error" or "warning". Recommended fields are only checked in case of "warning".

Value

Any warnings or errors.


iobis/obistools documentation built on March 19, 2024, 6:27 a.m.