VisCoT : - Covid Data Tracker
The Python Code for getting Track of Novel Covid Pandemic growth in all over the world
Tracks and Visualize data on patients,death,recovery in line plots and pie charts
The project has three versions working on 2 diffrent APIs and on web scrapping choose between them according to your need
The Abstract of this project has details about developement space of the project
Details about the Project ,WHO Guidelines and Chatbot are available in our website VisCoT
$ pip install -r requirements.txt
The Website we used
- Runs with Web Scrapping
- Fast Working
- Reliable data on all affected countries than other API's
- Total population of a Country is present
- Various Ratio's are available
- Latitude Longitude details are not available
-
Refer .txt files while giving inputs
Result | File | command |
---|---|---|
Affected Country list | Country.txt | |
To get updates in Confirmed/Death/Recovered details of a country in a faster way | country.py | python3 country.py |
Country Url list country.py depends on this | countryurl.txt | |
To get detailed Updates based on Countries like Population,Total Cases,New Cases,Total Deaths,New Deaths,Total Recovered,Active Cases,Serious,Critical,Tot Cases/1M pop,Deaths/1M pop,TotalTests,Tests/1M pop | details.py | python3 details.py |
To get static population data works along with details.py | population.py | python3 populations.py |
To get Available Country list which can help you in choosing inputs for details.py | filefordetails.txt | |
To get Latest Global data | latest.py | python3 latest.py |
Whole Country list in the world | map.txt | |
Population list run population.py to get this filled | population.txt | |
To get population data | population.py | python3 population.py |
The API we used
The Repo api provider
- Runs with slower Api
- Province wise Detail-Analysis
- Total population of a Country is present
- Patient Recovery Details is not available
-
Refer country.txt & province.txt while giving inputs
If they gets tampered run countrylist.py , provincelist.py respectively to regenrate them.
Do the same to update the lists
Result | File | command |
---|---|---|
To get latest Global updates | latest.py | python3 latest.py |
To get Graphs on Result | timeline.py | python3 timeline.py |
To get Updates based on Country | country.py | python3 country.py |
To get Updates based on Provinces | province.py | python3 province.py |
To get Available Country list | countrylist.py | python3 countrylist.py |
To get Available Province list | provincelist.py | python3 provincelist.py |
Country list | country.txt | |
Province list | province.txt | |
To Convert json to dictionary | jsontodict.py |
The API we used
The Repo api provider
- Comparitively Much Faster Api
- No Province wise Details
- Recovery number is available
- No data on Total population of a Country
-
Refer country.txt while giving inputs
If it gets tampered run countrylist.py to regenrate it.
Do the same to update the list
Result | File | command |
---|---|---|
To get latest Global updates | latest.py | python3 latest.py |
To get Graphs on Result | timeline.py | python3 timeline.py |
To get Updates based on Country | country.py | python3 country.py |
To get Available Country list | countrylist.py | python3 countrylist.py |
Country list | country.txt | |
To Check connection ad to store url | url.py |
Line graphs are plotted using matplotlib module According to Provinces and Country Coresponding Graphs are produced
No. of Confirmed Cases | No. of Death Cases | No. of Recoverd Cases |
Pie charts are plotted using matplotlib.pyplot.pie function According to Provinces and Country and Global details Coresponding Graphs are produced
Global | Country Specific | Country-Province |
- 'travis.yml' build status development.
- Unicode fixes
- Adding Ratio's
Niranjan B(Neeru) ๐ป ๐ ๐ง |
Ajith PM(Klepsydra Alpha) ๐ป ๐ |
Amal Nath(Dr.Strange) ๐ |
Meenakshi Nair(Meenu) ๐ป |
Sinadin Shibin (Skeptic) ๐ป |
Dinoy Raj (Raj) ๐ |
ยฉ Niranjan B ,Ajith PM
Licensed under the GNU GPL
Mention This Repo while you use this in your projects :)