Description Usage Arguments Author(s) Examples
View source: R/item_to_database.R
This function stores an item into a database table.
1 2 | item_to_database(con, item, dbtable, rownames = F, colnames = F,
append = T)
|
con |
Conecction to some database made with the RODBC package or some other. |
item |
Tibble returned for some of the functions of the ROMDB package. |
dbtable |
Name of the database table to insert the results. |
rownames |
either logical or character. If logical, save the row names as the first column rownames in the table? If character, the column name under which to save the rownames. Default: FALSE |
colnames |
logical: save column names as the first row of table? Default: FALSE |
append |
logical. Should data be appended to an existing table? Default: TRUE |
Alberto Almuiña
1 2 3 4 | ## Not run:
item_to_database(con, tibble_df, 'M_SQL_TABLE')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.