Description Usage Arguments Examples
Show top n line of table of database in mysql database
1 2 3 4 5 6 7 8 | mysql.head(
mysql.connect.params = list(host = "", dbname = "", table.name = "", user = "",
password = ""),
n = 10,
extra.sql = NULL,
verbose = FALSE,
...
)
|
mysql.connect.params |
Mysql parameters, [host, dbname, table.name, user, password etc.] |
n |
n lines will be selected |
extra.sql |
Extra sql statement |
verbose |
Ligical indicating wheather show the log message |
... |
Other parameters pass to dbGetQuery |
1 | host <- '11.11.11.1'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.