I can use dplyr
to connect to a sqlite
database:
library(dplyr)
mydb<- src_sqlite("DATA/mydb.db")
How can I list the tables in mydb
? I couldn't find anything about that in the help file
# get sample databases from: http://chinookdatabase.codeplex.com/
library(dplyr)
mydb <- src_sqlite("Chinook_Sqlite.sqlite")
src_tbls(mydb)
## [1] "Album" "Artist" "Customer" "Employee"
## [5] "Genre" "Invoice" "InvoiceLine" "MediaType"
## [9] "Playlist" "PlaylistTrack" "Track"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With