process_ctd | R Documentation |
Function takes in a filepath to a folder containing the cruise cnv CTD files, reads them in, combines them into one data object and then exports to a comma-separated-file and an odv text file.
process_ctd(
ctd_folder,
cruiseID = NULL,
csv_folder = "output/csv",
csv_filename = "ctd.csv",
odv_folder = "output/odv/ctd",
odv_filename = "ctd.txt",
add_cruiseID = TRUE,
...
)
ctd_folder |
filepath to the folder containing ctd cnv files |
cruiseID |
Optional string specifying cruise ID (i.e. "S301") |
csv_folder |
The directory path to output the csv file. Set to NULL for no csv output. |
csv_filename |
The csv filename to output the data |
odv_folder |
The directory path to output the odv file. Set to NULL for no odv output. |
odv_filename |
The odv .txt filename to output the data |
... |
optional arguments passed to |
add_cruise_ID |
If cruiseID is set, logical to specify whether cruiseID should be appended to beginning of filenames for csv and odv output |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.