View source: R/addRecordings.R
addRecordings | R Documentation |
Adds recording files to an AcousticStudy object, runs interactively to allow users to select files if they are not provided. No actual recordings are stored, a dataframe containing information on the start and end times of the recording files is added to the object.
addRecordings(x, folder = NULL, log = FALSE, progress = TRUE)
mapWavFolder(folder = NULL, log = NULL, progress = TRUE)
x |
a AcousticStudy object to add recordings to |
folder |
a folder of recordings to add. If |
log |
(optional) log files for SoundTrap recordings. These are used to
adjust apparent lengths of recordings for missing data. If |
progress |
logical flag to show progress bars |
mapWavFolder
returns a dataframe of start and end
times
the same object as x
with recording information added
to the files
slots. The information added is a dataframe containing
the start and end times of recording
Taiki Sakai taiki.sakai@noaa.gov
data(exStudy)
recs <- system.file('extdata', 'Recordings', package='PAMpal')
exStudy <- addRecordings(exStudy, folder=recs, log=FALSE, progress=FALSE)
files(exStudy)$recordings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.