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

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.