Learn R Programming

dataversionr (version 0.9.0)

summarise_diffs: Summarise diffs

Description

Create a data frame which summarises the diffs in a versioned dataset

Usage

summarise_diffs(destination)

Value

a data frame of diff statistics

Arguments

destination

a local directory path or an arrow SubTreeFileSystem

Examples

Run this code
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)

summarise_diffs(temp_dir)

unlink(temp_dir)

Run the code above in your browser using DataLab