Open jitendraag opened 3 years ago
Following follows almost same order and structure of data
Gurgaon GET https://covidggn.com/api/Reporting/GetPublicHospitalDetails
Delhi GET https://coviddelhi.com/data/coviddelhi.com/bed_data.json GET https://coviddelhi.com/data/coviddelhi.com/plasma_data.json
Bengaluru GET https://covidbengaluru.com/data/covidbengaluru.com/bed_data.json GET https://covidbengaluru.com/data/covidbengaluru.com/plasma_data.json
Andhra Pradesh GET https://covidaps.com/data/covidaps.com/bed_data.json GET https://covidaps.com/data/covidaps.com/plasma_data.json
Telangana GET https://covidtelangana.com/data/covidtelangana.com/bed_data.json GET https://covidtelangana.com/data/covidtelangana.com/plasma_data.json
West Bengal GET https://covidwb.com/data/covidwb.com/bed_data.json GET https://covidwb.com/data/covidwb.com/plasma_data.json
Pune GET https://covidpune.com/data/covidpune.com/bed_data.json GET https://covidpune.com/data/covidpune.com/plasma_data.json
Ahmedabad GET https://covidamd.com/data/covidamd.com/bed_data.json GET https://covidamd.com/data/covidamd.com/plasma_data.json
Vadodara GET https://covidbaroda.com/data/covidbaroda.com/bed_data.json GET https://covidbaroda.com/data/covidbaroda.com/plasma_data.json
Nashik GET https://covidnashik.com/data/covidnashik.com/bed_data.json GET https://covidnashik.com/data/covidnashik.com/plasma_data.json
Madhya Pradesh GET https://covidmp.com/data/covidmp.com/bed_data.json GET https://covidmp.com/data/covidmp.com/plasma_data.json
Tamil Nadu GET https://covidtnadu.com/data/covidtnadu.com/bed_data.json GET https://covidtnadu.com/data/covidtnadu.com/plasma_data.json
Beed, Maharashtra GET https://covidbeed.com/data/covidbeed.com/bed_data.json GET https://covidbeed.com/data/covidbeed.com/plasma_data.json
Gandhinagar, Gujrat GET https://covidgandhinagar.com/data/covidgandhinagar.com/bed_data.json GET https://covidgandhinagar.com/data/covidgandhinagar.com/plasma_data.json
Nagpur GET AND EXTRACT DATA FROM http://nsscdcl.org/covidbeds/AvailableHospitals.jsp
Haryana GET https://coronaharyana.in/
Uttar Pradesh GET AND EXTRACT DATA FROM http://dgmhup.gov.in/en/CovidReport
Rajasthan GET AND EXTRACT DATA FROM https://covidinfo.rajasthan.gov.in/COVID19HOSPITALBEDSSTATUSSTATE.aspx
Also for Maharashtra: In Mumbai, COVID-19 war rooms have been set up which are taking care of providing information about the availability of beds. The central helpline number is 1916.
@jitendraag How can we ingest csv to the system?
@jitendraag @divyagar @hannanabdul55 @abhinandanarya06 moved this issue to life-data repo. LMK if you guys need write access to repo or if this issue can be combined with another open issue. @rtindru amnd @sam9111 are also working on scraping data initiatives.
If you have a CSV endpoint, you can simply get it ingested by tagging Ashiya or me on slack.
['available_beds_without_oxygen', 'hospital_name', 'amc_available_beds_with_oxygen', 'district', 'amc_occupied_beds_without_oxygen', 'private_occupied_beds_with_oxygen', 'available_icu_beds_with_ventilator', 'private_available_icu_beds_without_ventilator', 'available_icu_beds_without_ventilator', 'private_occupied_beds_without_oxygen', 'hospital_address', 'amc_occupied_beds_with_oxygen', 'private_available_beds_without_oxygen', 'private_occupied_icu_beds_without_ventilator', 'total_beds_with_oxygen', 'total_beds_without_oxygen', 'amc_available_beds_without_oxygen', 'area', 'total_icu_beds_with_ventilator', 'pincode', 'private_occupied_icu_beds_with_ventilator', 'amc_available_icu_beds_with_ventilator', 'amc_occupied_icu_beds_without_ventilator', 'amc_occupied_icu_beds_with_ventilator', 'available_beds_with_oxygen', 'amc_available_icu_beds_without_ventilator', 'private_available_beds_with_oxygen', 'total_icu_beds_without_ventilator', 'private_available_icu_beds_with_ventilator', 'hospital_phone', 'last_updated_on', 'hospital_poc_phone', 'charges', '__delete__', 'hospital_poc_name', 'hospital_poc_designation', 'total_beds_allocated_to_covid', 'state', 'hospital_category', 'hospital_poc_email', 'facility_id', 'fee_regulated_beds', 'Notes', 'available_beds_allocated_to_covid', 'officer_name', 'officer_designation', 'bed_breakup', 'last_updated_time', 'last_updated_date']
hospital_poc_phone
and hospital_phone
), (amc_columnname
and columnname
)phone
, address
etc. covid<state/city-name>.com
and i can access delhi status from covidpune.com
by GET https://covidpune.com/data/coviddelhi.com/bed_data.json
but still the columns are different.Atmost we can add links to external govt official sources such that people who don't know can go to that.
Github Branch: scrap
Current data csv extracted format sample: data/hospital-ext.csv
Let's discuss it
Really data scraping/mining is so difficult 🤕
Is your feature request related to a problem? Please describe. We have a good source of data from various lead generation mechanisms. However, there are official sources that are significantly more reliable and users visiting our website are not getting this data. We should make this data available on our website.
Describe the solution you'd like
Something like Scrapy with custom code for each domain should work.
Gurgaon http://covidggn.com/ Delhi https://coviddelhi.com Thane https://covidthane.org/availabiltyOfHospitalBeds.html Bengaluru https://covidbengaluru.com/ Andhra Pradesh https://covidaps.com Telangana https://covidtelangana.com West Bengal https://covidwb.com Pune https://covidpune.com Ahmedabad https://covidamd.com https://ahna.org.in/covid19.html Vadodara https://covidbaroda.com Nagpur http://nsscdcl.org/covidbeds/AvailableHospitals.jsp Nashik https://covidnashik.com Madhya Pradesh https://covidmp.com Uttar Pradesh http://dgmhup.gov.in/en/CovidReport Rajasthan https://covidinfo.rajasthan.gov.in/COVID19HOSPITALBEDSSTATUSSTATE.aspx Bhopal https://bhopalcovidbeds.in/ Haryana https://coronaharyana.in/ Tamil nadu https://covidtnadu.com https://stopcorona.tn.gov.in/beds.php Beed, Maharashtra: https://covidbeed.com Gandhinagar, Gujarat: https://covidgandhinagar.com
Describe alternatives you've considered Skipping this data and updating availability manually are two options.
Additional context NA