我正在尝试将 dtplyr 应用于 SQL Server 数据库。
如下图我成功申请了dplyr,但是不知道怎么申请dtplyr
我怎样才能做到这一点?
library(odbc)
library(DBI)
library(tidyverse)
library(dtplyr)
library(dbplyr)
con <- DBI::dbConnect(odbc::odbc(),
Driver = "SQL Server",
Server = "address",
Database = "dbname",
UID = "ID",
PWD = "password")
dplyr::tbl(con, dbplyr::in_schema("dbo", "table1"))