readwrite: Write or read a diff to or from a file

Description Usage Arguments Details Value

Description

The diff information is stored in the Coopy highlighter diff format: http://dataprotocols.org/tabular-diff-format/

Usage

1
2
3
write_diff(diff, file = "diff.csv")

read_diff(file)

Arguments

diff

generated with diff_data

file

filename or connection

Details

Note that type information of the target data.frame is lost when writing a patch to disk. Using a stored diff to patch a data.frame will use the column types of the source data.frame to determine the target column types. New introduced columns may become characters.

Value

diff object that can be used in patch_data



Search within the daff package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.