create_temp_table | R Documentation |
Create a temporary table
create_temp_table(sql, table_name)
table_name |
The name of the temp table you wish to create |
sql: |
The SQL table you want to create a temp table out of. Should be a table that starts with a WITH or SELECT clause. |
`dbtools::create_temp_table("SELECT a_col, count(*) as n FROM a_database.table GROUP BY a_col", table_name="temp_table_1")`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.