test_rules {One4All}R Documentation

Rules data

Description

A dataset containing rules and their descriptions, datasets, valid examples, severity, and rules.

Format

A data frame with 6 columns:

name

Name of the rule (e.g., "MethodologyID_valid")

description

Description of the rule (e.g., "URL address is valid and can be found on the internet.")

dataset

Dataset associated with the rule (e.g., "methodology")

valid_example

A valid example of the rule (e.g., "https://www.waterboards.ca.gov/drinking_water/certlic/drinkingwater/documents/microplastics/mcrplsts_plcy_drft.pdf")

severity

Severity of the rule (e.g., "error")

rule

The actual rule (e.g., "check_uploadable(MethodologyID) == TRUE")

Examples

data("test_rules")


[Package One4All version 0.4 Index]