View source: R/cdr_tbl2ansi_format.R
cdr_tbl2ansi_format | R Documentation |
Prep dataframe columns to become SQL insert stmts
cdr_tbl2ansi_format(db_tbl, tzone = "UTC")
db_tbl |
a dataframe |
tzone |
the database default timezone |
a tibble
example_df <- dplyr::mutate(iris, bool = Species == 'setosa', day = Sys.Date(), test = Sys.time())
adj_df <- crudr:::cdr_tbl2ansi_format(example_df)
adj_df <- crudr:::cdr_tbl2ansi_format(example_df, Sys.timezone())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.