I am wanting to use faster_csv to read two csv files and
append columns to the first from the second and write to a temp file.
105 Street,Little Rock,AR\n
I was hoping some one could point in me in the right direction on how to
get started with this.
Here is what I have so far… As you can see that is just the first half
of the data.
tempfile = “csvs/temp.csv”
filenameusers = “csvs/Users.csv”
filenameaddresses = “csvs/Addresses.csv”
FasterCSV.foreach(filenameusers) do |line|
@results = line, line , line
FasterCSV.open("csvs/tempout.csv", "a") do |csv| csv << @results end
r1 = CSVReadWrite.new()