How to change parameters in R when I extract data from SQL?
Here is my example, I want control the time.
library(RODBC)
library(dplyr)
r <- "
SELECT
*
FROM table
where time > '01 May 2015'
"
Con <- odbcConnect(dsn="SQL")
t1 <- Sys.time()
spynet <- sqlQuery(Con , r)
odbcClose(Con)