create_dv | R Documentation |
Create a versioned dataset
create_dv(df, destination, key_cols = NA, diffed = TRUE, backup_count = 0L)
df |
a data frame |
destination |
a local directory path or an arrow SubTreeFileSystem |
key_cols |
a character vector of column names that constitute a unique key |
diffed |
should we store diffs between each dv version? |
backup_count |
how many backups should we store? |
TRUE
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) df <- data.frame(a = 1:5, b = letters[1:5]) create_dv(df, temp_dir) unlink(temp_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.