item_to_database {ROMDB}R Documentation

Item to Database

Description

This function stores an item into a database table.

Usage

item_to_database(con, item, dbtable, rownames = F, colnames = F,
  append = T)

Arguments

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

Author(s)

Alberto AlmuiƱa

Examples

## Not run: 
item_to_database(con, tibble_df, 'M_SQL_TABLE')

## End(Not run)

[Package ROMDB version 0.1.0 Index]