| localDBConn | R Documentation | 
Given a directory in which a GCAM database is located and the name of the database, return a connection that can be used to run queries on the database.
localDBConn(
  dbPath,
  dbFile,
  miclasspath = NULL,
  migabble = TRUE,
  validatedb = TRUE,
  maxMemory = "4g"
)
dbPath | 
 The path in which the BaseX DBs are located.  | 
dbFile | 
 GCAM database to extract scenario from.  | 
miclasspath | 
 Java class path for the GCAM Model Interface.  | 
migabble | 
 If   | 
validatedb | 
 If   | 
maxMemory | 
 Sets the maximum memory for Java which will be used to run
the queries.  The default value is   | 
By default, the a version of the GCAM ModelInterface and BaseX libraries supplied with the package will be used to run the query. You can replace these by specifying a Java classpath minimally including the replacement ModelInterface.jar and BaseX.jar files.
A connection to a local BaseX databasse which can be used to run queries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.