plots infections in all countries: web adjustments

This commit is contained in:
fordprefect
2020-06-24 13:45:47 +02:00
parent 01f9145b76
commit 678661cc7b
2 changed files with 329 additions and 50 deletions

View File

@@ -14,7 +14,11 @@ sys.path.append(".")
# countries of interest
countries = ["Germany", "Italy", "China", "Japan", "South Korea", "Iran", "United States", "World", "United Kingdom", "Sweden"]
# enabled plots
plots = ["basics", "death_per_case", "normalized_to_first_death", "delay_from_china", "delay_from_usa", "normalized_to_ten_cases", "percent_increase", "doubling_time"]
plots = ["basics", "death_per_case",
#"normalized_to_first_death", "delay_from_china", "delay_from_usa", "normalized_to_ten_cases", "percent_increase",
"doubling_time",
"all_countries",
]
###
def get_data():
"""fetch data from remote, cache locally and reorganize internal data