Description Usage Arguments Examples
Get MySQL query results in 1 shot
1 |
selection |
Columns to grab |
table |
Table to choose |
database |
Database on the MySQL server |
connect |
A previously opened connection, see example |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## Establish database connection
con <- dbConnect(MySQL(),
user = 'myname',
password = 'mypassword',
host = 'google.com',
dbname='mydbname')
## Will pull the entire table "icd_codes"
sql_get("icd_codes")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.