R/utils.R
pr_apply_Flags.Rd
Remove flagged data points based on IMOS quality control flags
pr_apply_Flags(df, flag_col)
A dataframe containing data with associated flags
A string specifying the column with the flag. Optional. If specified, all rows will be filter by the flag.
A dataframe with flagged data removed
df <- data.frame(SST = c(27.4, 28.9, 45), SST_Flag = c(1, 1, 4)) df <- pr_apply_Flags(df)