Description Usage Arguments Value Details Examples
View source: R/RMariaDBHelper.R
Send a dataframe to the database as a new table.
1 | db_send_table(df, tablename, conf_file = "~/.db_conf.yml", ...)
|
df |
(dataframe) A dataframe to send to the database. |
tablename |
(character) A table name to use for the new table. |
conf_file |
(character) A file containing database connection parameters. (Default: "~/.db_conf.yml") |
... |
Additional arguments passed to RMariaDB::dbWriteTable(). |
(boolean) Success: TRUE; failure: FALSE.
A dataframe will be sent to the database to be stored as a new table.
1 2 3 4 | ## Not run:
db_send_table(datasets::iris, "iris")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.