# Assumes 'MABI01_2010-05-22_054400_0_000.wav' is a survey in tblSurvey.fldSurveyName
# Assumes 'MABI01_2010-05-22_054400.csv' is a file of annotations belonging to the above survey
if (FALSE) {
#If using the 'acoustics' schema verbatim:
dbUploadAnno(
annotations = "MABI01_2010-05-22_054400.csv",
survey = "MABI01_2010-05-22_054400_0_000.wav",
analyst = 1)
#'acoustics' schema, different database name:
dbUploadAnno(
annotations = "MABI01_2010-05-22_054400.csv",
survey = "MABI01_2010-05-22_054400_0_000.wav",
db.name = "LocalSQLdb",
uid = "EntryOnly",
pwd = "07H23BBM",
analyst = 1)}
Run the code above in your browser using DataLab