CT_cleanup | R Documentation |
This function loads all raw .csv files within the data.path folder. It removes the first row of each file containing logger information, then retains column headers. Unnecessary columns are removed, and the remaining columns are renamed as needed for simplicity and consistency. Any rows containing NA's are dropped.
CT_cleanup( data.path, output.path, path.pattern, tf.write = FALSE, tf.recursive = FALSE, hobo.cal = FALSE, cond.range = "high" )
data.path |
Path to the input files |
output.path |
Path for the output files |
path.pattern |
Character string or object referencing a character string that identifies CT logger data within the specified file path |
tf.write |
Logical parameter indicating whether to save output files in an output folder. Default = FALSE. |
tf.recursive |
Logical parameter indicating whether to search within folders at the data.path. Default = FALSE |
hobo.cal |
Logical parameter indicating whether the .hobo file has been pre-calibrated using HOBOware software and exported as a processed .csv. Default = FALSE |
cond.range |
Character string or object indicating whether conductivity was recorded in High ("high"), Low ("low"), or both ("highlow") ranges. Default = "high" |
For every imported CT data file, one tidied file with temperature-compensated conductance is exported and returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.