WL_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.
WL_cleanup( data.path, output.path, path.pattern, tf.write = FALSE, tf.recursive = FALSE )
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 WL logger data within the specified file path |
tf.write |
Logical parameter indicating whether to save output files in an output folder. No default. |
tf.recursive |
Logical parameter indicating whether to search within folders at the data.path. Default = FALSE |
For every imported water level data file, one tidied file is exported and returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.