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()
|
2020-03-29 09:45:00 +00:00
|
|
|
print(analyser.getAvailableCountries())
|
2020-03-28 15:55:34 +00:00
|
|
|
country = input('What country do you want the graph for: ')
|
2020-03-28 20:45:50 +00:00
|
|
|
analyser.getCasesGraph(country, start_date='2020-02-14')
|
2020-03-29 09:45:00 +00:00
|
|
|
print(analyser.getTotalCases(country))
|
2020-03-29 10:21:50 +00:00
|
|
|
analyser.getCaseIncreaseGraph(country)
|
2020-03-29 09:45:00 +00:00
|
|
|
fetcher.updateStatsFile()
|