Code Monkey home page Code Monkey logo

console_reader's Introduction

Console Reader

Build Status

A small console application for parsing CSV, TSV and JSON files

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_console_reader)
  3. Commit your changes (git commit -am "Added some cool new feature")
  4. Push to the branch (git push origin my_console_reader)
  5. Open a [Pull Request][1]
  6. Enjoy a refreshing Diet Coke and wait

Assignment

De opdracht:

Ontwikkel een kleine console applicatie, die in staat is om CSV bestanden, TSV bestand en JSON gebaseerde records kan parsen. Pas hierin alle principes toe die tot op heden zijn behandeld, YAGNI, DRY, SOLID, GRASP, Implement an Interface, Unit Test Verwachtingen, codeer vanuit het principe dat elk object altijd in een valid-state is (bij invalid states throw je exceptions). Elke type bestand kent zijn eigen record-definitie. In een CSV en TSV file, beslaat een record 1 volle regel en wordt per record de velden gescheiden obv een komma of een tab. In een JSON bestand werkt dat natuurlijk op basis van de standaard JSON structuur.

De werking van de applicatie is als volgt, ik start de applicatie op en geef het een pad naar een directory mee. In deze directory staan verschillende bestanden, die uitgelezen moeten worden. Na het uitlezen van de directory moet de applicatie op de console weergeven hoeveel bestanden er zijn, hoeveel records er zijn, welke type record het meest aanwezig is en per soort record aangeven welke velden beschikbaar zijn. Ook wil ik per soort record weten hoeveel data daarvoor beschikbaar is. Per veld van een record wil ik weten, hoeveel deze ingevuld is en indien het gaat om een cijfer invulling wat de min, max en wat het gewogen gemiddelde is.

console_reader's People

Contributors

rickvanschalkwijk avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.