Description Usage Arguments Value Examples
Creates a copy of the Eunomia database, and provides details for connecting to that copy.
1 | getEunomiaConnectionDetails(databaseFile = tempfile(fileext = ".sqlite"))
|
databaseFile |
The path where the database file will be copied to. By default, the database will be copied to a temporary folder, and will be deleted at the end of the R session. |
A ConnectionDetails object, to be used with the DatabaseConnector
package.
1 2 3 4 | connectionDetails <- getEunomiaConnectionDetails()
connection <- connect(connectionDetails)
querySql(connection, "SELECT COUNT(*) FROM person;")
disconnect(connection)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.