Collection of operations on CSV files.
The CSV operations can either involve transforming one CSV into an
other, in what we call map
-like or 1:1
transforms, or they can
transform several CSVs files into one or more different CSVs, in what
we call reduce
-like or N:M
transforms. Note that operationns like
splitting (1:N
) or merging (N:1
) are particular cases of the
reduce
transforms.
The transformations can be easily combined, either using the csv_transformer command-line tool or programmatically.
This toolkit is intended to be easily extensible by adding new operations, as the need arise.
--deletecol and --split transform modes--exclude and post-processing--exclude + `--deletecolSchobermilestone, stable and tested
Schoberfix, added
--no-headers supportSchoberfix, added
--quote support (no quote otherwise)Schoberbom.csv, added
--groupmerge supportGempackaging
Bruckner
grep -v mode (--invert-match actually)Metaldynefilter-in mode (i.e.
filterout --invert-match)Fobohaad-hoc extensions to the
--merge modesource 'https://gems.bct-technology.com/' gem 'csv_transform', '1.11.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.11.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.12.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.12.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.13.1'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.13.1
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.14.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.14.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.15.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.15.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.16.0'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.16.0
This action is irreversible
source 'https://gems.bct-technology.com/' gem 'csv_transform', '1.16.1'
$ gem sources -a https://gems.bct-technology.com/
$ gem install csv_transform -v 1.16.1
This action is irreversible