remoteDBConn | R Documentation |
This connection will attempt to connect to a remote BaseX server via a webserver using the BaseX REST API. In order to connect a user must supply the server address, port, username/password as configured in the BaseX server which as read access. In addition we require TODO: optionally?) the name of the database to query.
remoteDBConn(
dbFile,
username,
password,
address = "localhost",
port = 8984,
validatedb = TRUE
)
dbFile |
GCAM database to extract scenario from. |
username |
A username configured with READ access on the remote BaseX database server. |
password |
The password for the said username. WARNING: currently just stored and sent as plain text, does BaseX even support https? |
address |
The server address such as IP or domain name address. Default is "localhost" |
port |
The server port. The default is 8984, the same as the default used by BaseX. |
validatedb |
If |
A connection to a remote 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.