Git Product home page Git Product logo

thetrulymadly / coronaclusters Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 3.5 MB

Analysis and visualization of crowdsourced data on COVID19 (Laravel-PHP App)

Home Page: https://coronaclusters.in

License: MIT License

PHP 70.95% Shell 0.18% Blade 28.86%
covid19 covid-19 covid-data covid-api covid-19-india coronavirus coronavirus-tracker coronavirus-tracking coronavirus-analysis coronavirus-real-time

coronaclusters's Introduction

CoronaClusters

Analysis and visualization of crowdsourced data on COVID19 (Laravel-PHP App)

Application live at https://coronaclusters.in

coronaclusters's People

Contributors

craftisan avatar tm-amit avatar yatinchachra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

soutrikdeylive

coronaclusters's Issues

Remove my number 9980059782

Kindly remove my number from donor database as I wasn't aware that people with recent Jaundice can't donate.

Thanks in Advance

Remove number

Hi,

Someone has put my Number on the Donor list, so is there any way so that I can remove my number from the donor list.
I don't want someone to call me if I can't help that person.

Regards,
Shubham Agarwal

Bug: [no donors available]

Describe the bug
I am getting the message 'No donors available for your area' for each and every state I'm selecting.

To Reproduce
Steps to reproduce the behavior:

  1. Login
  2. Click on 'Donors list'
  3. Enter the name of the state in which you are looking for donors
  4. See error

Expected behavior
I would be given a comprehensive list of donors to contact.

Screenshots
Attached below.

Desktop (please complete the following information):

  • Chrome Browser

Smartphone (please complete the following information):

  • Xiaomi Redmi Note 4

Additional context
There is a list visible when I've not logged in. As soon as I login, it shows the error.
WhatsApp Image 2021-05-02 at 20 55 53

InSensitivity in news content

https://coronaclusters.in/uttar-pradesh/noida

Sadly, 0 patients have died due to coronavirus in Noida,

Its should be fortunately 0 death's.
Correct the contents

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]

Additional context
Add any other context about the problem here.

Feature: delete my number

URGENT NEED TO DELETE MY NUMBER FROM THE APP AS I HAVE ALREADY DONATED STILL GETTING CALLS . Pls include this feature asap

Bug: Jaipur recoveries not updated

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser [chrome]
    Screenshot_20210626-132144_Chrome

Smartphone (please complete the following information):

  • Device: [Samsung]

Additional context
Add any other context about the problem here.

Sadly,0 deaths were reported

Describe the bug
A clear and concise description of what the bug is.
The word "Sadly" is abrupt and uncalled for..
The statement says" Sadly, 0 patients have died due to covid
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'corona india tracker home page'
  2. Click on 'data'
  3. Scroll down to 'passage describing the data briefly'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
Sadly (No_Of_Patients) have died......if (No_Of_Patients)>0 ...
Else (No_Of_Patients=0)
Use affirming words to showcase and give confidence to the already depressed crowd..

Screenshots
Screenshot_20210709-192127

Desktop (please complete the following information):

  • not specific to any browser.

Smartphone (please complete the following information):
-generic phone lol
Additional context
good work but should have tested the end cases.

delete info and add donated date

Please add delete info in donor and request option as well. I have donated plasma still I am receiving 10+ calls daily. this leads to waste of time for the patient's relatives. or Add last plasma donated date.

Feature: Pincode based search for exact distance between donors and requestor.

What if users want to search donors in nearby area based upon their pincode?.
We built the same type of API in node js and here it is the link of the website. PlasmaDonor

Solution how to map pincode to distance between donor and requestor.
Sadly we wrote the above apis and frontend both in js. thus I can't help much with the code but here is what we did.
At the time of registration take a valid pincode from the donor. here is the api to validate the pincode . This api also gives the latitude and longitude coordinates of the place asked and nearby places.

The next step is to store this latitude and longitude for each user. and then at the time of someones request for donors through a pincode, again call the same api to get lat long of the current requestors pincode. now we have lat long of requestor and remember we had lat long of donors in our database. For the purpose to not traverse the whole database we only search those pincodes in database which are having first 3 digit same as the requestors pincode and to most extent it works fine.

suppose you have some list of donors now from your database which are near to current pincode. then run this function to get the exact distance between the donors and the requestor.

function getDistanceFromLatLonInKm(lat1, lon1, lat2, lon2) {
    lat1 = parseFloat(lat1); lon1 = parseFloat(lon1);
    lat2 = parseFloat(lat2); lon2 = parseFloat(lon2);
    console.log(lat1, lon1, lat2, lon2);
    var R = 6371; // Radius of the earth in km
    var dLat = deg2rad(lat2 - lat1);  // deg2rad below
    var dLon = deg2rad(lon2 - lon1);
    var a =
        Math.sin(dLat / 2) * Math.sin(dLat / 2) +
        Math.cos(deg2rad(lat1)) * Math.cos(deg2rad(lat2)) *
        Math.sin(dLon / 2) * Math.sin(dLon / 2)
        ;
    var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
    var d = R * c; // Distance in km
    return d;
}

Now you have distance of a requestor with respect to all donors apply some more filters regarding blood group age and gender matching and shoo the results. for more details here is our backend in nodejs link. I really wanted to contribute but lack of php skills.
For more info on how we did it.
Our nodejs backend repo link.

https://github.com/JPRMohnish/PlasmaBackend/

We wanted users to get involved in our website and populate the database but since this is much popular website and having a greater user database. I want that you continue this project . Thank you And help India fight Covid 19.

For more info ping me on linkedin.

Bug: when there is 0 death due to covid

Describe the bug
When there is 0 death due to corona .it must show Happily or any good word that suits here but it is showing sadly
There are 0 deaths due to corona.I think 0 death count is a good news not bad

To Reproduce
Steps to reproduce the behavior:

  1. Check the shamli district (state Uttar pradesh india) covid data
  2. Click on Data tab
  3. Scroll down to text showing death count in the paragraph.
  4. See error

Expected behavior
Having 0 deaths is a good thing.please just change the text

Screenshots

Desktop (please complete the following information):
Open in any browser

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]

Additional context
Unable to upload the screenshot

Bug and suggestion-24 hrs starting and recovery message

Thanks for taking initiative for giving these details but there are certain areas which needs improvement.
Following are details
Suggestion - It would be better if you could display a time from when you start counting24hrs. so that it gives more understanding and clarity

Bug- the message usually says "781 people are so far affected in Pune, Maharashtra by novel coronavirus covid-19. 29 out of 781 have recovered. "
So 29 ppl recovered are not out of 781 which are recently reported. But they are just recovered in last 24 hours

Bug - active cases are much more than what you show. not sure how are they calculated. But if i compare this data with daily news it is out of sync largly.

Orissa recoveries not updated from.last 10 daysBug: [title]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]

Additional context
Add any other context about the problem here.
Please update the daily covid19 recoveries from Orissa.

Content improper

When there are 0 people dies of corona. The statement read” sadly, 0 persons have died of corona virus”. Which completely misinterprets the content you want to deliver. Check for rajanna sircilla today and the content too.
7E7B6978-9E1A-4D9F-BB95-9B70BBBB5AFE

Bug: Hardcoding doesn't account for 0 deaths

Describe the bug
The code doesn't account for zero deaths. The text reads - Sadly 0 patients have died.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://coronaclusters.in/uttar-pradesh/noida'
  2. Read text '17 people are so far affected in Noida, Uttar-pradesh by novel coronavirus covid-19. 0 out of 17 have recovered. Sadly, 0 patients have died due to coronavirus in Noida, Uttar-pradesh. 17 patients are still in hospital and recovering. '

Expected behavior
Just remove 'Sadly,'. Bo need to be sad on the number 0 deaths. Else plan for it. The good news is there are 0 deaths...

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot_2021-09-25-10-00-50-02

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: Real me

Additional context
Condition is there are 0 deaths and that's why the text doesn't match the text.

Citywise data is not correct for Tamilnadu

Describe the bug
City wise data shows areas inside Chennai as city. Eg., Westmambalam. And district wise data and citywise data is not tallied in tamilnadu
Screenshot_20210714-080030
Anna nagar and broadway in Chennai are shown as seperate city.
And most of the cases are shown under unknown.

Smartphone (please complete the following information):

  • Device: Andoird phone

Additional context

Bug: [title]Remove contact number from plasma donation

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]

Additional context
Add any other context about the problem here.
I'm not eligible for plasma donation due to low antibody count.

Incorrect counts

The below content displayed talks about 100% recovery which is incorrect count of people recovered.

"944856 people are so far affected in Karnataka by novel coronavirus covid-19. 926664 out of 944856 have recovered."

Bug: Statewise help link returns 404

Describe the bug
MOHFW - HELPLINE NUMBERS [by State] link returns 404

To Reproduce
Steps to reproduce the behavior:
1.Click on help button
2.In the helpful links sections, click on link MOHFW - HELPLINE NUMBERS [by State]

Expected behavior
Should redirect to required link and open required page.

Screenshots
image

Delete my number 9643805001 not a donor

Delete my number

9643805001

Not a donor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]

Additional context
Add any other context about the problem here.

Bug: Remove number

I am not eligible for plasma donation. I had typhoid along with covid. Kindly remove my number from the tracker.

Bug: Inappropriate died cases sentence

Describe the bug
The sentence when reporting no of patients died due to COVID is inappropriate if the count is 0.
"Sadly, 0 patients have died due to coronavirus in Bokaro, Jharkhand."

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.coronaclusters.in/jharkhand/bokaro'
  2. Check the live update message block.

Expected behavior
Should have a better wording for this case.

Screenshots
Screenshot 2021-01-09 at 9 00 34 PM

Bug: [Delete Number]

I found that it needs 28 days since testing Covid negative that one can donate plasma. I'm only 12 days into recovery and have been getting many phone calls. It's inappropriate to create hope in the hearts of those in pain, and would like my number to be removed from there. Alternatively, you may activate it only after 28 days of recovery have been completed by anyone who registers themselves on this site.

My registered number is 9833625288 and my name is Esha Adhikari. Please delete my number ASAP. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.