Skip to content

LeDeep/csv_normalizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV Normalizer

Takes a CSV file as input, reads the file, normalizes its contents, and writes to a new file with the normalized content.

Instructions For Running the App

  1. Clone the repo

  2. Run following commands:

    bundle Install
    ruby csv_normalizer.rb "#{file-name.csv}" e.g. ruby csv_normalizer.rb "sample.csv"
    

A file named "normalized-#{file-name}.csv" (e.g. "normalized-sample.csv") will be created with the normalized contents.

To Run Tests

rspec

Next Steps

  1. Error handling
  2. Drop rows that contain unparseable data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages