db_create | R Documentation |
Function creates tables in a pre-defined database to store parameters relevant for modelling applications with the WASA model.
db_create(dbname, overwrite = NULL, keep_tables = NULL, db_ver = Inf)
dbname |
Name of the data source (DSN) registered at ODBC. See |
overwrite |
|
keep_tables |
Vector of type |
db_ver |
|
This package uses the ODBC interface to connect to a database. Creating the database requires the following prior steps which are OS dependent:
Install a Database Management System and respective ODBC-driver and on your computer. Currently supported (tested) are: SQLite (v. 3.8.9), MariaDB/MySQL (v. 10.0.17), MS Access.
Register an empty database at your ODBC configuration.
Calling db_create creates the necessary tables in the database. These are then filled and processed by subsequent function of lumpR. More information can be found at the lumpR package wiki: https://github.com/tpilz/lumpR/wiki
Tobias Pilz tpilz@uni-potsdam.de, Till Francke francke@uni-potsdam.de
lumpR package introduction with literature study and sensitivity analysis:
Pilz, T.; Francke, T.; Bronstert, A. (2017): lumpR 2.0.0: an R package facilitating
landscape discretisation for hillslope-based hydrological models.
Geosci. Model Dev., 10, 3001-3023, doi: 10.5194/gmd-10-3001-2017
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.