filter_ems_data: Simple filtering of ems data by emsid and or dates.

View source: R/data_ops.R

filter_ems_dataR Documentation

Simple filtering of ems data by emsid and or dates.

Description

Simple filtering of ems data by emsid and or dates.

Usage

filter_ems_data(
  x,
  emsid = NULL,
  parameter = NULL,
  param_code = NULL,
  from_date = NULL,
  to_date = NULL,
  req_id = NULL
)

Arguments

x

The ems data frame to filter

emsid

A character vector of the ems id(s) of interest

parameter

a character vector of parameter names

param_code

a character vector of parameter codes

from_date

A Date, POSIXct, POSIXlt, or a character string in a standard unambiguous format (e.g., "YYYY/MM/DD")

to_date

A Date, POSIXct, POSIXlt, or a character string in a standard unambiguous format (e.g., "YYYY/MM/DD")

req_id

A character vector of requisition id(s) of interest. See lt_lake_req() for a list of long-term lakes monitoring sites REQUISITION IDs

Value

A filtered data frame


bcgov/rems documentation built on Oct. 14, 2023, 3:04 a.m.