This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Take the "combined.csv" file, and reorganize and annotate it into the | |
# finished data file that the group wants. | |
require 'date' | |
require 'logger' | |
require 'rubygems' | |
require 'fastercsv' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debug(:language) | |
whence(:language => "english") { '1' } | |
whence(:language => 'spanish') { '2' } | |
whence(:language => 'unknown') { nil } | |
test( {:language => "english"} => "1", | |
{:language => "spanish"} => "2") |
NewerOlder