Skip to contents

Prep dataframe columns to become SQL insert stmts

Usage

cdr_tbl2ansi_format(db_tbl, tzone = "UTC")

Arguments

db_tbl

a dataframe

tzone

the database default timezone

Value

a tibble

Examples

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())