load_wq: Load water quality data

Description Usage Arguments Value Examples

Description

Loads water quality Results table merged with Visit and Location tables

Usage

1
load_wq(path, projects = NULL, sample_types = "S", exclude_flags = FALSE)

Arguments

path

Full path to MyRWA Access Database

projects

vector of ProjectIDs to keep (default=NULL to return all projects)

sample_types

SampleTypeID(s) to keep in dataset (default="S" to exclude blanks and duplicates, if NULL returns all sample types)

exclude_flags

If TRUE, excludes all samples with any flag, otherwise returns all samples

Value

A dataframe containing water quality data

Examples

1
2
3
df <- load_wq(path = "D:/Dropbox/Work/mystic/db/MysticDB_20160208.accdb")
# all baseline samples including flagged and qaqc samples
baseline <- load_wq(path = "D:/Dropbox/Work/mystic/db/MysticDB_20160208.accdb", projects="BASE", sample_types=NULL, exclude_flags=FALSE)

walkerjeffd/myrwaR documentation built on May 3, 2019, 10:46 p.m.