Download Acoustic Templates from a Database
dbDownloadTemplate(db.name = "acoustics", uid, pwd, type, names,
species, FFTwl, FFTovlp, FFTwn, ...)
An object of class TemplateList
.
Name of the ODBC connector data source corresponding to the acoustics database.
User ID to allow ODBC connector to connect to database, if not present in ODBC connector.
Password to allow ODBC connector to connect to database, if not present in ODBC connector.
Type of templates to select. Character value of either "BIN" or "COR". Some partial matching is performed to accept "bt" and "ct", for example.
Optional character value or vector of template names to filter selection from the database. If missing all templates matching other filters are selected.
Optional character value or vector of species to filter selection from the database. If missing all templates matching other filters are selected.
Optional character value or vector of FFT window lengths to filter selection from the database. If missing all templates matching other filters are selected.
Optional character value or vector of FFT window overlap to filter selection from the database. If missing all templates matching other filters are selected.
Optional character value or vector of FFT window names to filter selection from the database. If missing all templates matching other filters are selected.
Additional arguments to odbcConnect
.
Jon Katz
This function assumes a database structure identical to that provided in the acoustics schema. If the username and password are present in the ODBC datasource they do not need to be provided. It is possible to store only the username in the datasource and enter a password, but the reverse will not work.
dbUploadTemplate