Description Usage Arguments Value Examples
Connect to a SQLite database file. And check it the following tables exists: price, itinerary, leg, segment, carrier, agent, and place. If not, create them.
1 | dbCreateDB(conn = RSQLite::SQLite(), dbname = "flight.db")
|
conn |
A |
dbname |
The path to the database file. Don't use two exceptions:
|
An object of class SQLiteConnection
. If
can't connect to SQLite driver, return 1.
1 2 | con <- dbCreateDB(dbname = ":memory:")
dbDisconnect(con)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.