View source: R/database_functions.R
SELECT | R Documentation |
SELECT
will send select SQL queries to the UWIN database and return
the output.
SELECT(sql = NULL, db = uwidb)
sql |
A SQL statement input as a character vector to be sent to the UWIN database. |
db |
The MySQL connection to the UWIN database. Defaults to 'uwidb' |
A data.frame with the output from the SQL statement.
## Not run:
my_sql <- 'SELECT * FROM Visits;'
SELECT(my_sql)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.