Description Usage Arguments See Also Examples
Save Save a dataframe to a database, storing it in decomposed form:
a named table with a dumbed-down version of the dataframe, where logicals are coerced to integers, and factors are coerced to strings.
a metadata table called __types
, with the information necessary to
recover the logicals and factors in the original dataframe.
Additional arguments are passed to the database write call for the data table.
The dataframe can be retrieved from the database using loadDF()
.
1 |
con |
An SQL database connection (generated via |
df |
The dataframe to save. |
name |
The table name to use in the database. |
overwrite |
Should the dataframe overwrite the existing content under that table name? |
... |
Additional arguments to pass to the database write call for the dataframe. |
Pure functions to decompose/recompose dataframes: decomposeDF()
recomposeDF()
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.