search_var_src_codes: Search the var_src_codes

View source: R/search_var_src_codes.R

search_var_src_codesR Documentation

Search the var_src_codes

Description

Search the var_src_codes

Usage

search_var_src_codes(var = NA, src = NA, var_src = NA, units = NA,
  var_descrip = NA, src_descrip = NA, data_type = NA, p_code = NA,
  metab_var = NA, priority = NA, var_src_codes = get_var_src_codes(),
  match_case = FALSE, fixed = TRUE)

Arguments

var

text to search for in the var column

src

text to search for in the src column

var_src

text to search for in the var_src column

units

text to search for in the units column

var_descrip

text to search for in the var_descrip column

src_descrip

text to search for in the src_descrip column

data_type

text to search for in the data_type column

p_code

text to search for in the p_code column

metab_var

text to search for in the metab_var column

priority

text to search for in the priority column

var_src_codes

table of var_src_codes to search

match_case

logical. should the case be matched exactly?

fixed

logical. As in grepl, TRUE to require an exact match and FALSE to use regular expressions

Examples

search_var_src_codes(units='mgO2 L^-1')

USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.