Giter VIP home page Giter VIP logo

prezenta.roaep.ro's Introduction

Downloadează (și agregă) date despre rezultate și prezență la vot publicate pe prezenta.roaep.ro

Scripts

Prezență vot

  • dl-prezenta.py
  • merge-jsons-prezenta.py
  • merge-csvs-prezenta.py #TODO:

Rezultate (procese verbale)

  • dl-pvs.py
  • merge-pvs.py
  • run_merge_scripts.sh - orchestrates merge-pvs.py with different parameters

SQLite

  • xlsx2sqlite.py

$ python dl-prezenta.py --data 09062024 --alegeri locale --t_start 19 --t_end 22

  • data: ddmmyyyy (27092020, 11102020, 27062021, 09062024)
  • alegeri: locale, europarlamentare
  • t_start: int (8 - 22)
  • t_end: int (8 - 22)

$ python dl-pvs.py --data 09062024 --alegeri locale --pv-type final --uat cnty --functie p

  • data: ddmmyyyy
  • alegeri: locale*, europarlamentare
  • pv-type: temp, part, final*
  • uat: uat, cnty*, cntry
  • functie: p*, cl, cj, pcj, eup

* default values


Data / Output

  • <data_scrutin>-<tip_alegeri>/
    • prezenta/
      • csvs/
      • jsons/
      • consolidat/
    • pvs
      • <functie>/<tip_uat>/<tip_uat>/*.csv
      • merged-<functie>-<tip_uat>-<tip_uat>.xlsx
      • merged-<functie>-<tip_uat>-<tip_uat>.db
  • static/
    • judete.csv
    • uat-siruta.csv

Roadmap

  • dl prezență
  • concatenate prezență
  • dl PVs
  • concatenate PVs
    • detect common columns
  • add params
  • consolidate to sqlite db
    • individuale
    • master db?
    • public Datasette?
  • analytics
  • UI / dashboards
  • election day version - main executable, get timerange from site

dl data

voturi nule

prezenta.roaep.ro's People

Contributors

pax avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.