Rdocumentation
powered by
Learn R Programming
SciencesPo (version 1.3.9)
database: Wrapper for dbConnect
Description
Connects to a SQLite database or creates one if it does not already exist.
Usage
database(dbname)
Arguments
dbname
A character name or path to database file.
Value
SQLiteConnection object.
Details
If the '.sqlite' file extension is ommited from the dbname argument it is automatically added.
Examples
Run this code
db <- database(
"mydb"
)
Run the code above in your browser using
DataLab