書名: Hands-On Exploratory Data Analysis with R作者名: Radhika Datar Harish Garg本章字?jǐn)?shù): 63字更新時間: 2021-06-24 14:10:42
Importing data into R from relational databases using the DBI R package
Database Independent Interface (DBI) makes connecting to and getting data from various relational databases from R very easy and efficient.
To use DBI, we load DBI first:
library(DBI)
We then create an in-memory RSQLite database:
con <- dbConnect(RSQLite::SQLite(), dbname = ":memory:")
We can print a list of tables as follows:
dbListTables(con)
推薦閱讀
- 西門子PLC與InTouch綜合應(yīng)用
- 精通Windows Vista必讀
- 大數(shù)據(jù)時代的數(shù)據(jù)挖掘
- 視覺檢測技術(shù)及智能計算
- Lightning Fast Animation in Element 3D
- 空間機械臂建模、規(guī)劃與控制
- Salesforce Advanced Administrator Certification Guide
- 中文版AutoCAD 2013高手速成
- Mastering Exploratory Analysis with pandas
- 運動控制系統(tǒng)(第2版)
- Learn Microsoft Azure
- DynamoDB Applied Design Patterns
- 網(wǎng)絡(luò)安全概論
- Microsoft Power BI Complete Reference
- ASP.NET 4.0 MVC敏捷開發(fā)給力起飛