Git Product home page Git Product logo

tvt-java's Introduction

TVT-Java

What the program does

This program takes a google form (exported to CSV) of a vote on tea vendors and generates a markdown table that can be pasted into a reddit wiki page, each vote has a reddit users favourite five vendors.

The Program can do two differnt tallying systems:

  • Un-weighted: All votes are treated equally (one vote one point)
  • Weighted: Votes are ranked so that vendors get more points if they got higher up in a users vote.
    • 1st = 5
    • 2nd = 4
    • 3rd = 3
    • Runner-Up 1 = 1
    • Runner-Up 2 = 1

Example

https://www.reddit.com/r/tea/wiki/vendors/page_01

Why the program was chosen

This was chosen as I understood the scope of the program and was only interesed in learning java and I knew this project would have some interesting challenges

How to run the program

For data to run please request them directly from me

Simple commandline program with basic commands

  • -v for the vendor CSV (A list of all vendors that have been voted on, in markdown so you can copy and paste the old markdown tables)
  • -p for the votes CSV (The google form results downloaded as .CSV with no editing)
  • -w true/false for weighted votes

For example

TeaTally -v Vendors.csv -p Votes.CSV -w true

or put this in the program arguments

-v Vendors.csv -p Votes.CSV -w true

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.