addRecordings {PAMpal} | R Documentation |
Add Recordings to an AcousticStudy Object
Description
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.
Usage
addRecordings(x, folder = NULL, log = FALSE, progress = TRUE)
Arguments
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 |
Value
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
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
data(exStudy)
recs <- system.file('extdata', 'Recordings', package='PAMpal')
exStudy <- addRecordings(exStudy, folder=recs, log=FALSE, progress=FALSE)
files(exStudy)$recordings