dataFrameToSqlTuples | R Documentation |
Create SQL Tuples from Data Frame
dataFrameToSqlTuples(newData)
newData |
a data frame |
vector of character strings each of which represents one row in
newData
x <- data.frame(
name = c("Peter", "Paul"),
birthday = as.POSIXct(c("1981-12-13", "2003-01-16"))
)
setCurrentSqlDialect("msaccess")
dataFrameToSqlTuples(x)
# Note that the representation of a date and time is different in MySQL
setCurrentSqlDialect("mysql")
dataFrameToSqlTuples(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.