View source: R/soundtrapQAQC.R
soundtrapQAQC | R Documentation |
Gathers data from Soundtrap XML log files to perform QA/QC on a set of recordings.
soundtrapQAQC(
dir,
outDir = NULL,
xlim = NULL,
label = NULL,
voltSelect = c("internal", "external"),
plot = TRUE
)
dir |
directory containing Soundtrap XML logs, wav files, and SUD files. Can either be a single directory containing folders with all files (will search recursively), or a vector of three directories containing the SUD files, wav files, and XML files (in that order - alphabetical S-W-X) |
outDir |
if provided, output plots and data will be written to this folder |
xlim |
date limit for plots |
label |
label to be used for plots and names of exported files |
voltSelect |
one of "internal" or "external" to select which battery voltage to use |
plot |
logical flag to create output plots |
list of dataframes with summary data for $xmlInfo
, $sudInfo
,
and $wavInfo
Taiki Sakai taiki.sakai@noaa.gov
## Not run:
# not run
stDir <- './Data/SoundtrapFiles/'
stData <- soundtrapQAQC(stDir, plot=TRUE)
# save data
stData <- soundtrapQAQC(stDir, outDir='./Data/SoundtrapFiles/QAQC', plot=TRUE)
# or provide separate folders of data
stDirs <- c('./Data/SoundtrapFiles/SUDFiles',
'./Data/SoundtrapFiles/WavFiles',
'./Data/SoundtrapFiles/XMLFiles')
stData <- soundtrapQAQC(stDirs, plot=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.