datasetsDb | R Documentation |
This database is bundled with the package, and contains all data frames in the datasets package.
datasetsDb()
library(DBI)
db <- RSQLite::datasetsDb()
dbListTables(db)
dbReadTable(db, "CO2")
dbGetQuery(db, "SELECT * FROM CO2 WHERE conc < 100")
dbDisconnect(db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.