View source: R/write_sql_to_drop_create_table_from_df.R
Writes a DROP TABLE and CREATE TABLE sql statement for a given dataframe
1 2 3 4 5 | write_sql_to_drop_create_table_from_df(
dataframe,
to_table_name,
add_to_varchar = 10
)
|
dataframe |
dataframe to be loaded into table |
to_table_name |
name of the table that the dataframe will be loaded into |
add_to_varchar |
integer that is added to the character count for good measure. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.