Skip to content

michaeljvaldes/csv-normalization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Csv Normalizer

We gonna normalize some csv files today.

Get rid of your invalid utf8 and make some simple data transformations, hassle-free!

Requirements

  • Java (14+, 16 works)
  • Maven

Download Java

this program was built with openjdk 14 and runs with higher versions like 16

Install Maven

Download maven 3

Follow installation instructions

  • tl;dr add mvn to path
  • export PATH=/opt/apache-maven-3.8.1/bin:$PATH

To Run:

You can execute the following commands in the root directory:

  • build jar: mvn clean package
  • execute jar: java -jar target/csv-normalization-1.0.0-SNAPSHOT.jar < [input_file.csv] > [output_file.csv]
  • execute jar and also print errors: java -jar target/csv-normalization-1.0.0-SNAPSHOT.jar < [input_file.csv] > [output_file.csv] 2> [err.log]
  • just run tests: mvn test

Some input csv files are included in src/test/resources for testing various scenarios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages