readMWRfrecom {MassWateR}R Documentation

Read data quality objectives for frequency and completeness from an external file

Description

Read data quality objectives for frequency and completeness from an external file

Usage

readMWRfrecom(frecompth, runchk = TRUE, warn = TRUE)

Arguments

frecompth

character string of path to the data quality objectives file for frequency and completeness

runchk

logical to run data checks with checkMWRfrecom

warn

logical to return warnings to the console (default)

Details

Data are imported with read_excel and checked with checkMWRfrecom.

Value

A formatted data frame of data quality objectives for frequency and completeness that can be used for downstream analysis

Examples

frecompth <- system.file('extdata/ExampleDQOFrequencyCompleteness.xlsx', 
     package = 'MassWateR')

frecomdat <- readMWRfrecom(frecompth)
head(frecomdat)

[Package MassWateR version 2.1.4 Index]