Data Explorer
In this project, I worked with an open data set that is a collection of open data sets. Data is Plural is a project run by Jeremy Singer-Vine.The dataset
consists of six columns: edition(date), position, headline(title), text(description), links, and hattips. We are given the dataset via a CSV file
The goal of this programming project is for you to master the following tasks:
-working with multi-file programs
-reading data from input files
-using and understanding command line arguments
-working with large data sets
-using the ArrayList class
-writing classes
-working with existing code
-extending existing classes (inheritance)
-parsing data
working with exception handling
Date Class: represents the edition of a dataset by mimicking a calendar date.
DataSet Class: represents a dataset based on the columns in the CSV file. A valid dataset for us must contain headlines, text, and links.
DataSetList Class: represents a storage for multiple dataset objects.
DataIsPlural Class: The actual program that contains the main method. It is responsible for opening and reading the data file, obtaining user input,
performing some data validation, and handling all errors that may occur (in particular, it should handle any exceptions thrown by my other classes and terminate
gracefully, if need be, with a friendly error message presented to the user). The program is supposed to be given a CSV file name as a command line argument.
We parse through the CSV file, add all valid dataset objects to a list, and then allow users to issue queries.
FileProcess Class: validates and parses the file, then constructs all the dataset objects and adds them to a list.
UserInterface Class: Starts the user interaction and displays results from queries
QueryHandler Class: processes the different types of queries that may be given.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|