addDatabase {PAMpal} | R Documentation |
Add a Database to a PAMpalSettings Object
Description
Adds a new function to the "function" slot in a PAMpalSettings object. Interactively asks for database files if none are supplied as input
Usage
addDatabase(pps, db = NULL, verbose = TRUE)
Arguments
pps |
a PAMpalSettings object to add a database to |
db |
database(s) to add, or single directory containing databases |
verbose |
logical flag to show messages |
Value
the same PAMpalSettings object as pps, with the database
db
added to the "db" slot
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
# not recommended to create a pps like this, for example only
pps <- new('PAMpalSettings')
db <- system.file('extdata', 'Example.sqlite3', package='PAMpal')
pps <- addDatabase(pps, db)
pps
[Package PAMpal version 1.2.1 Index]