addPgAnno | R Documentation |
Add new annotations to an existing Pamguard Spectrogram Annotations table
addPgAnno(
db,
anno,
tableName = NULL,
channel = 1,
source = c("manual", "aplose", "pammisc", "annomate", "raven"),
format = c("%m/%d/%Y %H:%M:%OS", "%m-%d-%Y %H:%M:%OS",
"%Y/%m/%d %H:%M:%OS", "%Y-%m-%d %H:%M:%OS"),
tz = "UTC"
)
db |
database file to add annotations to |
anno |
annotations to add, must contain columns |
tableName |
name of the annotation table in the database |
channel |
channel to display the annotations on |
source |
annotation source. If |
format |
date format, default will try two variations of MDY HMS and YMD HMS |
tz |
timezone of provided date |
Returns a dataframe of the rows added to the database
Taiki Sakai taiki.sakai@noaa.gov
## Not run:
myDb <- 'PamguardDatabase.sqlite3'
myAnno <- data.frame(UTC = '2021/10/23 12:10:10', Duration = .563, f1=2300, f2=3600)
addPgAnno(myDb, myAnno, tableName='Spectrogram_Annotation', source='manual')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.