Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonmagic/csvdiff-ruby
CSV differ in Ruby
https://github.com/jonmagic/csvdiff-ruby
Last synced: 30 days ago
JSON representation
CSV differ in Ruby
- Host: GitHub
- URL: https://github.com/jonmagic/csvdiff-ruby
- Owner: jonmagic
- License: mit
- Created: 2013-08-28T19:11:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-03T23:27:11.000Z (over 11 years ago)
- Last Synced: 2024-05-02T05:50:27.383Z (8 months ago)
- Size: 137 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
csvdiff-ruby
============In order to compare two csv files and get something more meaningful than normal line diffs you can choose an identifier column in your data that will be used to match rows. If no identifier column is chosen you can of course fall back to the line number as the unique identifier.
Once a row from two revisions is matched you can compare the values in every other cell in that row and show the changes in a meaningful way.
For text normal red/green comparisons are handy, but things get much more interesting when you start comparing cells with numerical values as you can show the change in value. Date and time cells could show a change in days, hours, minutes, seconds, or all of the above. If you can determine the column type more meaningful comparisons can be done.
This repository is my attempt at building a csv differ in Ruby.