qc_data_filter: Sets new values for where flags exist

View source: R/qaqc.R

qc_data_filterR Documentation

Sets new values for where flags exist

Description

Sets new values for where flags exist

Usage

qc_data_filter(df, col_val, col_flag, good_flags, flag_val)

Arguments

df

dataframe

col_val

string or vector of strings referring to dataframe column of the raw values to be updated.

col_flag

string referring to the dataframe column of flags.

good_flags

vector of acceptable flags, type is same as the col_flag col.

flag_val

value to insert in col_val where is flagged.

Value

NA, updates existing col_val column in df.


acebulsk/wxlogR documentation built on Dec. 22, 2024, 7:42 a.m.