View source: R/bind_signal_data.R
bind_signal_data | R Documentation |
A function to combine and process raw Logie graphics data. Raw Logie data files are combined and errors and duplicates are removed.
bind_signal_data(path_to_folder, site, year, max_pss, print_removed = FALSE)
path_to_folder |
The file path to the folder that contains raw Logie graphics data files (.txt) to be processed. |
site |
Name of the study river. The site is used to name output .csv files (i.e., siteyear.csv). |
year |
Year of counter operation. The year is used to name output .csv files (i.e., siteyear.csv). |
max_pss |
The maximum peak signal size (pss). |
print_removed |
Defaults to FALSE. If TRUE, pss error data that were removed from the final data frame are printed to the path_to_folder as a .csv file. |
A list containing two elements: signal_data (cleaned master data file), and wrong_pss (data containing errors in pss that were removed from signal_data). Signal_data is written to the path_to_folder location as a .csv file. If print_removed is TRUE, wrong_pss is also returned as a .csv file. An additional file, all_signal_data.csv, is written to path_to_folder, which combines all raw graphics data contained in the data files into one master graphics file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.