View source: R/read_dv_backup.R
read_dv_backup | R Documentation |
Read a version of a versioned dataset into a data frame using just the stored backups
read_dv_backup(destination, as_of)
destination |
a local directory path or an arrow SubTreeFileSystem |
as_of |
the valid date at which you'd like to read the dv |
a data frame
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) df <- data.frame(a = 1:5, b = letters[1:5]) create_dv(df, temp_dir, backup_count = 5L) read_dv_backup(temp_dir, as_of = lubridate::now()) unlink(temp_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.