我可以dplyr用来连接sqlite数据库:
library(dplyr)
mydb<- src_sqlite("DATA/mydb.db")
Run Code Online (Sandbox Code Playgroud)
如何列出表格mydb?我在帮助文件中找不到任何相关内容
hrb*_*str 11
# 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"
Run Code Online (Sandbox Code Playgroud)