This Java application shows a menu on sysout of different calculations available to perform:
1 - Most frequent schedules.
2 - Most frequent trip origins and destinations.
3 - Most frequent type of vehicle.
4 - Mean price per trip class.
5 - Type of train by origin and destination.
6 - Exit
Calculations are performed taking sample.csv
file located at javaDataProcessing/src/main/resources/sample.csv
.
- Java: 1.8.0
- Maven: Apache Maven 3.6.3
$: mvn compile
$: mvn exec:java -Dexec.mainClass="com.ruben.javaDataProcessing.App"
$: mvn clean compile assembly:single
After assembly is complete, all application dependencies and resources (sample.csv) are packaged into a jar that can be executed by issuing:
$: java -jar target/javaDataProcessing-1.0-SNAPSHOT-jar-with-dependencies.jar