Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON CODE At the address below, there is covid data for all countries since the day the epidemic started. This data is updated daily. When

PYTHON CODE At the address below, there is covid data for all countries since the day the epidemic started. This data is updated daily. When you download the file again tomorrow, one more line for each country there will be data. The address from which you will get the data:https://datahub.io/core/covid-19 The name of the file with the data you will use: time-series-19-covid-combined.csv The file looks like this:Date,Country/Region,Province/State,Confirmed,Recovered,Deaths 2020-01-22,Afghanistan,,0,0,0 2020-01-23,Afghanistan,,0,0,0 2020-01-24,Afghanistan,,0,0,0 2020-01-25,Afghanistan,,0,0,0 2020-01-26,Afghanistan,,0,0,0
It is a file in csv (comma seperated value) format separated by "," from each other. The first line is the title, date, country name, state name, Confirmed (number of reported cases), There are values for Recovered (number of heals), Deaths (number of deaths). State name is defined for America and some countries, for countries without a state system, this column is empty.
According to the date ranges and the country name you will receive from the user, you can print the program that prints to the file. index confirmed recovered deaths 1    2    3    ... N   

The name of your file must be the country name. As you can see, there is an order value instead of date information. The first date taken from the user on day 1, day corresponds to the 2nd date taken from the user.

Check the input / output files for details. Just upload your Python code to the system it is expected that time-series-19-covid-combined.csv file is in the same folder as your code you can assume.

for example input:

Turkey 2020-06-06 2020-08-06

output: Turkey.txt file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

What are the APPROACHES TO HRM?

Answered: 1 week ago