Giter Club home page Giter Club logo

covid19's People

Contributors

nachtfeuer avatar

Watchers

 avatar  avatar

covid19's Issues

Provide options --cache/--no-cache and --cache-file

  • currently the CSV data is always downloaded and written into the file coiv19.csv
  • provide a boolean flag --cache/--no-cache where the default should be --no-cache
  • provide --cache-file where the default should be "covid19.csv" being the path and name of file for the downloaded CSV data
  • log the options

Provide logging

  • Provide standard logging
  • Also log Python version and platform
  • Also log the data url
  • Also log the current options (like width and height)

Allow --country to be used multiple times

  • creating an image for each country
  • if --format is used as well then create multiple images for each country
  • encode the country (lower case) in the filename "covid19-<country>.<format>"

Support Germany and Bundesländer

Using tkinter as UI instead the viewer

  • The viewer functionalities are not of interest anymore (zoom, ...)
  • Should play nicely with #16
  • Each tab should represent one --country=

Depends on implementation (choose what works best):

  • either display the image
  • or render the graphs

Refactoring (part two)

  • using one plot method for cases and deaths in a way you could add further plots.
  • that plot method plots the concrete data and the trendline.

Show date of last update

Since I do not update every day and - secondly - you do not necessarily see the date of last update in the x axis it would be nice to see that information somewhere. Following ideas (try and see what fits best):

  • adding "updated: " as subtitle moving current title to left and this subtitle to the right (smaller font and another color)
  • adding "updated: " to the legend in brackets
  • adding "updated: " to the label of the y-axis

New command line option for country as filter

  • country as filter (default: Germany)
  • changing to language "English" for tests to avoid translation files since covid19 data are in English.
  • if a language is specified that does not exist exit with error

Show last value

For bigger numbers it would be nice to see the exat value. Following options (try and see what fits best):

  • adding subtitle moving current to left and moving new one to the right with smaller font and another color
  • labeling last value

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.