readMWRresults {MassWateR}R Documentation

Read water quality monitoring results from an external file

Description

Read water quality monitoring results from an external file

Usage

readMWRresults(respth, runchk = TRUE, warn = TRUE, tzone = "America/Jamaica")

Arguments

respth

character string of path to the results file

runchk

logical to run data checks with checkMWRresults

warn

logical to return warnings to the console (default)

tzone

character string for time zone, passed to formMWRresults

Details

Date are imported with read_excel, checked with checkMWRresults, and formatted with formMWRresults.

Value

A formatted water quality monitoring results data frame that can be used for downstream analysis

See Also

readMWRresultsview for troubleshooting import checks

Examples

respth <- system.file('extdata/ExampleResults.xlsx', package = 'MassWateR')

resdat <- readMWRresults(respth)
head(resdat)

[Package MassWateR version 2.1.4 Index]