RubyGems.org

csv_schema

0.0.2

This validator is intended to be run on csv files that are updated and received on a regular basis. It allows you to specify required headers the following data restrictions: columns that must be unique, columns that must be restricted to certain values, or columns that can't allow nil values. This gem checks that the newly received file is consistent with the specified 'csv schema'. This frees you form having to manually check that the new file has not changed and reduces the possibility that an unnoticed change will cause any subsequent analyses to be incorrect.

installgem install csv_schema -v 0.0.2
Authors

jconley

5,538 total downloads 1,352 for this version
Owners

20cc631a711e5190cfc7e6b59a845414

Gemfile
gem 'csv_schema', '~> 0.0.2'
Versions
  1. 0.0.3 December 20, 2010 (9 KB)
  2. 0.0.2 December 20, 2010 (9 KB)
  3. 0.0.1 December 20, 2010 (9 KB)
  4. 0.0.0 December 19, 2010 (9 KB)
Runtime Dependencies
  1. fastercsv ~> 1.5.3
Development Dependencies
  1. rspec ~> 1.3.1