View source: R/databaseQueryUtilities.R
getDataframeFromDatabase | R Documentation |
Function to pull data from database using paramterized DBI odbc query
getDataframeFromDatabase(
queryString,
parameters,
convertFactorsToStrings = TRUE,
...
)
queryString |
string paramterized sql query where parameters are indicated by "?" |
parameters |
tibble of parameter values |
convertFactorsToStrings |
boolean whether to convert all factor variables to character strings default = TRUE |
... |
conn_args list of database connection arguments: driver, server, database name, userid, password, port |
returns sql query result as a dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.