View source: R/utils-typewrite.R
Return a SQL statement given as a string surrounded by ticks for R Markdown consumption in the console. Output will be written verbatim to an Rmd file path if provided.
1 2 3 4 5 6 7 | cat_sql_chunk(
sql_statement,
tab_count = 0,
sep = "\n",
rmd_file = "",
append = FALSE
)
|
sql_statement |
SQL statement. |
tab_count |
Number of tabs the chunk will be indented when printed in the console, Default: 0. |
sep |
Passed to |
rmd_file |
Passed as |
append |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.