Create a historical table from input data
Arguments
- .data
(
data.frame(1)
,tibble(1)
,data.table(1)
, ortbl_dbi(1)
)
Data object.- conn
(
DBIConnection(1)
)
Connection object.- db_table
(
id-like object(1)
)
A table specification (coercible byid()
).- ...
Other arguments passed to
DBI::dbCreateTable()
.
Examples
conn <- get_connection()
create_table(mtcars, conn = conn, db_table = "mtcars")
close_connection(conn)