create_db | R Documentation |
create_db(path = getwd(), db_name = "sense.db", overwrite = FALSE)
path |
The path to the database. |
db_name |
The name of the database. |
overwrite |
In case a database with |
A database connection using prepared database schemas.
# Create a new database in a temporary directory
db <- create_db(tempdir(), "mydb.db")
# You can also create an in-memory database
db2 <- create_db(path = NULL, ":memory:")
# Cleanup
close_db(db)
close_db(db2)
file.remove(file.path(tempdir(), "mydb.db"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.