May 1st - ZohairDaniel/CovidSite GitHub Wiki
May 1st Log
Today was my first time using convert.py. This was a file that I retrieved from MDJ Hoel's Repository. I used it to produce data that would be compatible to make a map using Leaflet.JS.
Getting The NEW Data
I got the data off of John Hopkins Repository through Github. This Data was then put into a Spreadsheet and wrangled to match what was required (no spaces, no commas, etc.). Then I downloaded the data as CSV file so I could open it in convert.py (naming the file the date that the data was produced). I did some tweaks to convert.py.
The Tweaks
I went into convert.py and changed the name of the file that it was calling to 04-30-2020 (the data of the file that I had). Then I scrolled down and ran the program through the terminal to retrieve the recovered data. After doing this, I replaced all a few pieces of code in the file and I was able to obtain the data for the confirmed cases and the deaths caused by COVID-19. END.