{"repo":"paulfitz/daff","free":true,"listed":false,"github":"https://github.com/paulfitz/daff","clone":"git clone https://github.com/paulfitz/daff.git","description":"align and compare tables","language":"Java","stars":922,"topics":["csv","csv-diffs","diff","comparing-tables","sqlite"],"license":"MIT","category":"databases-storage","readme_excerpt":"daff: data diff =============== This is a library for comparing tables, producing a summary of their differences, and using such a summary as a patch file. It is optimized for comparing tables that share a common origin, in other words multiple versions of the \"same\" table. For a live demo, see: https://paulfitz.github.io/daff/ Install the library for your favorite language: Use on the web from a CDN: Other translations are available here: https://github.com/paulfitz/daff/releases/tag/v1.3.16 Or use the library to view csv diffs on github via a chrome extension: https://github.com/theodi/csvhub The program ----------- You can run daff / daff.py / daff.rb as a utility program: Formats supported are CSV, TSV, Sqlite (with --input-format sqlite or the .sqlite extension), and ndjson. Using with git -------------- Run daff git csv to install daff as a diff and merge handler for .csv files in your repository. Run daff git for instructions on doing this manually. Your CSV diffs and merges will get smarter, since git will suddenly understand about rows and columns, not just lines: The library ----------- You can use daff as a library from any supported language. We take here the example of Javascript. To use daff on a webpage, first include daff.js : You can find a minimal demo on the project website. Or if using node outside the browser: For concreteness, assume we have two versions of a table, data1 and data2 : To make those tables accessible to the library, we wrap them in daff.Ta","default_branch":null,"files":null,"tree":[],"storefront":"/r/paulfitz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paulfitz/daff/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}