covid-19-analysis/Main.py

18 lines
497 B
Python
Raw Normal View History

2020-03-28 11:37:54 +00:00
# -*- 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())
2020-03-28 15:55:34 +00:00
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()