get_diffs | R Documentation |
Read in all the diffs in a versioned dataset to a data frame or arrow dataset
get_diffs(destination, collect = TRUE)
destination |
a local directory path or an arrow SubTreeFileSystem |
collect |
should we collect the underlying arrow dataset or return just the connection? |
a data frame or an arrow dataset connection
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) df <- data.frame(a = 1:5, b = letters[1:5]) new_df <- data.frame(a = 2:5, b = letters[2:5]) diff <- diffdfs::diffdfs(new_df, df) commit_diff(diff, temp_dir) get_diffs(temp_dir) unlink(temp_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.