filter_ody: Filter Odyssey Data Based on Water Level Data

Description Usage Arguments Examples

Description

Filters odyssey data to select only observations taken at the same times as a water level logger reports being inundated Outputs optional data frame and optionally saves file If input csv is used, output save file retains base name. Otherwise, output file is named by timestamp

Usage

1
2
filter_ody(ody_csv, waterlevel_csv, height.offset, output.dir, ody_df,
  waterlevel_df, return.data = FALSE)

Arguments

ody_csv

path to csv file of cleaned odyssey data

waterlevel_csv

path to csv file of water-level-above-sensor data

height.offset

height difference between sensors or threshold water level at which to accept odyssey data

output.dir

optional directory in which to save cleaned data

ody_df

data frame of cleaned odyssey data if ody_csv not used

waterlevel_df

data frame of cleaned water level data if waterlevel_csv not used

return.data

boolean, whether or not to return data as data frame

Examples

1
filter_ody(ody_csv = 'MadOdy_2437.csv', waterlevel_csv = 'Mad01-A_BaroDensCompensated.csv', height.offset = 0.07, output.dir = 'Mad01-A')

acgoodman/wlTools documentation built on May 16, 2019, 11:05 a.m.