load_wq | R Documentation |
Loads water quality Results table merged with Visit and Location tables
load_wq(path, projects = NULL, sample_types = "S", exclude_flags = FALSE)
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 |
A dataframe containing water quality data
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.