wq: Process and combine water quality data

View source: R/wq.R

wqR Documentation

Process and combine water quality data

Description

Imports, filters, and processes water quality datasets and outputs an integrated dataset

Usage

wq(Sources = NULL, Start_year = NULL, End_year = NULL)

Arguments

Sources

Character vector of data sources for the water quality variables. No default, this must be specified. Choices include "20mm" (20mm Survey, twentymm), "Baystudy" (Bay Study, baystudy), "DJFMP" (Delta Juvenile Fish Monitoring Program, DJFMP), "DOP" (Directed Outflow Project DOP)), "EDSM" (Enhanced Delta Smelt Monitoring, EDSM), "EMP" (Environmental Monitoring Program, EMP), "FMWT" (Fall Midwater Trawl, FMWT), "NCRO" (NCRO, NCRO), "SDO" (Stockton Dissolved Oxygen Survey, SDO), "SKT" (Spring Kodiak Trawl, SKT), "SLS" (Smelt Larva Survey, SLS), "STN" (Summer Townet Survey, STN), "Suisun" (Suisun Marsh Fish Study, suisun), "USBR" (United States Bureau of Reclamation Sacramento Deepwater Ship Channel data, USBR), "USGS_CAWSC" (USGS California Water Science Center monitoring data, USGS_CAWSC), "USGS_SFBS" (USGS San Francisco Bay Surveys, USGS_SFBS), and "YBFMP" (Yolo Bypass Fish Monitoring Program, YBFMP).

Start_year

Earliest year you would like included in the dataset. Must be an integer. Defaults to year 0.

End_year

Latest year you would like included in the dataset. Must be an integer. Defaults to the current year.

Value

An integrated dataset

Examples

Data <- wq(
  Sources = c(
    "20mm",
    "Baystudy",
    "DJFMP",
    "DOP",
    "EDSM",
    "EMP",
    "FMWT",
    "NCRO",
    "SDO",
    "SKT",
    "SLS",
    "STN",
    "Suisun",
    "USBR",
    "USGS_CAWSC",
    "USGS_SFBS",
    "YBFMP"
  )
)

sbashevkin/discretewq documentation built on July 16, 2025, 6:16 p.m.