covid-19-analysis/Main.py
Patrick Müller e5be34dd55 Saving the graphs as file
- WIP, Saved graphs are currently empty pictures for some reason
2020-03-29 12:21:50 +02:00

18 lines
497 B
Python

# -*- coding: utf-8 -*-
"""
Project: Analyse worldwide COVID-19 Data and provide graphs etc.
@author Patrick Müller
"""
import DataFetcher as fetcher
import Analyser as ana
if __name__ == '__main__':
analyser = ana.Analyser()
print(analyser.getAvailableCountries())
country = input('What country do you want the graph for: ')
analyser.getCasesGraph(country, start_date='2020-02-14')
print(analyser.getTotalCases(country))
analyser.getCaseIncreaseGraph(country)
fetcher.updateStatsFile()