Wrapper around cat function in R that returns a timestamped SQL: heading followed by the SQL statement.

typewrite_sql(sql_statement, style = c("inline", "chunk"))

typewrite_sql(sql_statement, style = c("inline", "chunk"))

Arguments

sql_statement

SQL statement.

style

The inline style where the statement is flattened into a single line or a chunk style where the statement is taken in its native format and returned within a set of ticks for R Markdown, Default: "inline".

See also