RunSqlFile | R Documentation |
RunSqlFile(db.conn, file.name, variables = NA)
db.conn |
An ODBC connection to the ODBC database |
file.name |
A file name that the SQL script is saved to |
variables |
An R list of variables, variable names in the list are matched to ones with the same name in a format like |
A data frame with query results A helper function that loads an SQL script, updates the variables in the script to values provide and formats the resulting data by renames columns to common R style.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.