Open thejeshgn opened 3 years ago
File name is misleading. It sas 7th March 2021. Inside it says As on 08 Mar’21 at 7:00 AM
. We are going to name the files as per this datetime. Like 2021-03-08-at-07-00-AM.pdf
`
Vaccination coverage by statewise https://dashboard.cowin.gov.in/
Didn't see stats API https://apisetu.gov.in/public/marketplace/api/cowin
@naveenpf it looks like a standard dashboard to give overall stats. I couldn't get the previous data or data on a specific date outside last 30 days. "All" has weekly data.
If it helps, state wise vaccination data can also be found as JSON document from mygov. Here is how I get them
curl https://www.mygov.in/sites/default/files/covid/vaccine/covid_vaccine_timeline.json?#{itim} -o ./vdata.#{stim}`
time = Time.now itim = time.to_i stim = time.strftime("%m-%d-%Y")
does it match with the PDF on MOHFW, which they publish everyday.
https://www.mohfw.gov.in/pdf/CumulativeCOVIDVaccinationCoverageReport06052021.pdf
Thejesh GN ⏚ ತೇಜೇಶ್ ಜಿ.ಎನ್ http://thejeshgn.com GPG ID : 0xBFFC8DD3C06DD6B0
On Fri, 7 May 2021 at 15:39, Saji Hameed @.***> wrote:
If it helps, state wise vaccination data can also be found as JSON document from mygov. Here is how I get them
curl https://www.mygov.in/sites/default/files/covid/vaccine/covid_vaccine_timeline.json?#{itim} -o ./vdata.#{stim}`
time = Time.now itim = time.to_i stim = time.strftime("%m-%d-%Y")
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/datameet/covid19/issues/31#issuecomment-834236594, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAASSUQUDBGEOGCEIFUGCLLTMO36LANCNFSM4YYUKLLQ .
Yes, it matches except for rows 8--9 ("Dadra & Nagar Haveli" and "Daman Diu"). In the JSON file these are lumped together into one.
The data that I have collected and processed (sorted into states) for my own analysis can be found here: https://framagit.org/saji_nh/india_2020
hi @thejeshgn, I'm curious if anyone has made progress on this.. a friend is looking for vaccine doses by gender. I thought I'll check here and see if anyone has already scraped it.
@bkamapantula I have not seen any dataset with gender wise details. Have you?
@sajinh thank you. I will add it to the auto scraper.
@thejeshgn not quite the API but here's the request for Arunachal Pradesh, Changlang district (picked from the Network tab on Cowin dashboard site). has to be scraped out
at gender level this is: vaccination numbers by male/female/other at state, district granularity
I scraped it, will share it in a few days.
@bkamapantula that will be great.
hi @thejeshgn, here it is: cowin-vaccination-doses
I update it once in two days.
@bkamapantula So shall I script to download once every other day?
I would like to add it to the repo.
Yes, that works @thejeshgn
Let me know if you need a specific sheet URL, I can update that sheet with new data.
Currently, I create a new sheet with date as name.
@thejeshgn Looks like the 15th March bulletin was revised and the repository still has the old one.
I also found a few more files that maybe you could add. The filenames are a mess https://www.mohfw.gov.in/pdf/CumulativeCovidVaccinationCoverageReportDay40ason25Febat7AM.pdf https://www.mohfw.gov.in/pdf/CumulativeCovidVaccinationCoverageReportDay41ason26thFebat7am.pdf https://www.mohfw.gov.in/pdf/CumulativeCovidVaccinationCoverageReportDay42ason27thFebat7am.pdf https://www.mohfw.gov.in/pdf/CumulativeCovidVaccinationCoverageReportDay43ason28thFebat7am.pdf https://www.mohfw.gov.in/pdf/CumulativeCoverageReport2ndMarch2021.pdf (1st March) https://www.mohfw.gov.in/pdf/CumulativeCOVIDVaccinationCoverageReport2March2021.pdf https://www.mohfw.gov.in/pdf/CumulativeCoverageReport3rdMarch2021.pdf https://www.mohfw.gov.in/pdf/CumulativeCoverageReport4thMarch2021.pdf https://www.mohfw.gov.in/pdf/CumulativeCOVIDVaccinationCoverageReport5thMarch2021.pdf https://www.mohfw.gov.in/pdf/CumulativeCOVIDVaccinationReport6thMarch2021.pdf
@shuklaayush thank you. Will look and update tonight.
@shuklaayush I usually use the datetime inside the PDF (As on 16 Mar’21 at 7:00 AM)
as the file name to keep it consistent.
@shuklaayush added to the repo.
@bkamapantula is there is a possibility of committing the code ? That will help the reproducibility. Basically I want to dump the JSON data as it is into raw data folder. Then may be a script to convert into usable format.
sure, here it is: https://gitlab.com/bhanu.k/cowin-vaccination-doses
The script isn't auto-setup deliberately to monitor for failed requests.
@bkamapantula thank you. I will have a look.
@thejeshgn I cleaned up the instructions and updated code with better control for arguments.
Data files are available via Git LFS.
@bkamapantula I have not gotten around to work on it. But its on my list. I will get to it this weekend. Thank you so much.
I can see that mohfw is adding State Wise Vaccination Coverage.
https://www.mohfw.gov.in/pdf/CumulativeCOVIDVaccinationCoverage7thMarch2021.pdf
Its backed up daily inside
covid19/downloads/mohfw-backup/cumulative_vaccination_coverage
I will look for old ones.