Giter Club home page Giter Club logo

life's Introduction

Life | Coronasafe Network

A database and API for life-fe

API V2

Data URL
List of districts with Data https://life-api.coronasafe.network/data/active_district_data_v2.json
Ambulance availability https://life-api.coronasafe.network/data/ambulance_v2.json
Helpline Numbers https://life-api.coronasafe.network/data/helpline_v2.json
Hospitals and Beds https://life-api.coronasafe.network/data/hospital_v2.json
Medicine availability https://life-api.coronasafe.network/data/medicine_v2.json
Oxygen availability https://life-api.coronasafe.network/data/oxygen_v2.json
Food availability https://life-api.coronasafe.network/data/food_v2.json

API V2 CSV

Data URL
Ambulance availability https://life_data.coronasafe.network/ambulance.csv
Helpline Numbers https://life_data.coronasafe.network/helpline.csv
Hospitals and Beds https://life_data.coronasafe.network/hospital.csv
Medicine availability https://life_data.coronasafe.network/medicine.csv
Oxygen availability https://life_data.coronasafe.network/oxygen.csv
Food availability https://life_data.coronasafe.network/food.csv

API V1 (deprecated)

Data URL
List of districts with Data https://life-api.coronasafe.network/data/active_district_data.json
Ambulance availability https://life-api.coronasafe.network/data/ambulance.json
Ambulance availability (verified) https://life-api.coronasafe.network/data/ambulance_verified.json
Helpline Numbers https://life-api.coronasafe.network/data/helpline.json
Helpline Numbers (verified) https://life-api.coronasafe.network/data/helpline_verified.json
Hospitals and Beds https://life-api.coronasafe.network/data/hospital_clinic_centre.json
Hospitals and Beds (verified) https://life-api.coronasafe.network/data/hospital_clinic_centre_verified.json
Medicine availability https://life-api.coronasafe.network/data/medicine.json
Medicine availability (verified) https://life-api.coronasafe.network/data/medicine_verified.json
Oxygen availability https://life-api.coronasafe.network/data/oxygen.json
Oxygen availability (verified) https://life-api.coronasafe.network/data/oxygen_verified.json

For Non-Developers

You can make use of this Master Google Sheet: https://docs.google.com/spreadsheets/d/1Oyuf3LOjBr_ubJOJCTlBk6ODg3jXiSlLMW9g4-m5SHU/edit?usp=sharing

Want to help with coding?

Source

Contributions Docs

Detailed Contributing Guide

Getting Started

First, run the development server:

npm install
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Adding Translations

For Adding a New Language

For translations of Existing Language: Please Refer This

Supported by Swasth Alliance | Vercel

life's People

Contributors

aayushsaini avatar amit-kr-debug avatar amjadnoor avatar anupraman2000 avatar arnabsen1729 avatar bodhish avatar bodhisha avatar deep-codes avatar developedbysj avatar divyagar avatar gigincg avatar github-actions[bot] avatar himanshu007-creator avatar jenishjain avatar karmakoder avatar kashyapshankhavara avatar khavinshankar avatar largonarco avatar peeyush14goyal avatar procode2 avatar rakeshgunduka avatar rishabhrawat10 avatar sandra3657 avatar shaileshaanand avatar shrihari689 avatar smartclash avatar tecnoder avatar vandanabhandari avatar vigneshhari avatar viksit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

life's Issues

Pending for verification cards could become tasks using automation?

Mark all the data on airtable that has blank or not verified status as pending for verification. Use some automation to create cards/tasks like freshdesk or Jira or something.

Ideas:

  1. On airtable auto assign it to people. So that every day they know these are the numbers we are verifying
  2. Even if we don't assign, have a task page where we see only unverified contacts. Then verification can happen on a different place than airtable, and be automatically populated on airtable, after Jira task is completed. This will prevent the chaos when both addition, updation, verification, and formatting of the airtable happen simultaneously, the volunteers lose their track of data.
  3. Display them on frontend on a page 'Help us verify pending contacts' if you open the link it will show all cards on the site for a state or resource chosen, that is not verified. A normal public can keep calling it and update it from there? This is dependent on the assumption that form view link can it open for an existing field (can we edit an existing database using form view/airtable forms)

legend for verified / non-verified

Is your feature request related to a problem? Please describe.

Currently when a user visits: https://life.coronasafe.network/punjab/ludhiana/plasma
He/she sees the warning sign but might not understand the meaning of it.

Describe the solution you'd like
Adding a meaning of icons on top for reference.

Describe alternatives you've considered
using components something similar to GitHub badges (issues ones)

Create a data page

Create a new page /data and add the following

What to do if you have verified data and want to add to the database?

Fill information these forms based on resource type if you have less than 10 contacts.

Oxygen - https://airtable.com/shrjYwvwPhPY6h6Hw
Ambulance - https://airtable.com/shrAO7oA9qwh1OABJ
Hospital - https://airtable.com/shrfZV2enmY9wge0F
Helpline - https://airtable.com/shruCmaVNNXt1q1Uj
Plasma https://airtable.com/shrtvIFkPjcUxRd1H
Medicine/Injection/Chemist - https://airtable.com/shrCNfkEdSTxeWAGg
Doctor/Telemedicine/Consultation - https://airtable.com/shrg0KEI0qRfLRPRP
Support groups (whatsapp, telegram, twitter, instagram) https://airtable.com/shrf64QSuwSrzWPxo
Apply as volunteer https://airtable.com/shrDiUIg7e1IWj6mz
Government contact https://airtable.com/shr5IdHRDcFrOKLcg

absolute imports

Is your feature request related to a problem? Please describe.

Why we need this?

// nah
import AmbulanceCard from '../../../components/AmbulanceCard';
// yes
import AmbulanceCard from '@components/AmbulanceCard';

Describe the solution you'd like
using absolute imports

create a card component

We need a Card Component instead of having 6 different ones.
Also a single alignment Left or center

Make required changes to be qualified for Vercel OSS plan

Sponsorship Criteria
There are some minor criteria that are required to be fulfilled before Vercel can sponsor your project, these are listed below:

  • The project should be non-commercial.
  • The project should be open source.
  • The project should be static rather than server-rendered.
  • The project should not be related in any way to cryptocurrency.
  • A Vercel banner in the footer of each site page.
  • A Vercel banner in the source repository's README.md file.
  • All links back to Vercel should use a UTM tag with the format: ?utm_source=[team-name]&utm_campaign=oss.

https://vercel.com/support/articles/can-vercel-sponsor-my-open-source-project

Add more fields to cards that we are collecting for some resources

Eg. new fields that we are collecting and would be super helpful to show. Could we find a way to show this. A simpler way would be to merge all this information together in a string under description (concatenate kinda)

Hospital -
Type of Hospital
Verifier_Comment - Instructions, guidelines, latest update available from hospital
Sub category of hospital- what type of hospital this is
Availability - Yes or No
Type of bed available - covid/non covid/with o2/with ventilator/with icu
How many beds available when you last checked

Similarly we have more helpful information for each field type, will add them below later. But this might require creating different views/card layout for different resource type - hospital, oxygen etc.

But this is super valuable as it enhances the depth of information we are providing. Show these at least wherever available

Ambulance data

Columns

  • State
  • District
  • Name
  • Phone1
  • Phone2 (mostly empty)
  • Source (mostly empty)
  • Area

Add a new page /campaigns

Add a /campaigns page and add the following as 1st card. This is a simple change. Please ship out asap


As of today, India is undergoing a severe second wave with the world’s highest daily cases. Hospitals and healthcare providers are running out of resources in the fight against COVID-19 and the situation on the ground is dire. Oxygen is critically required to treat patients affected with COVID, many of whom require hospitalization due to fluctuating oxygen levels. However, there is a severe shortage of oxygen availability across hospitals in India. Oxygen concentrators are alternate devices to oxygen cylinders – while cylinders contain a finite amount of oxygen supply, a concentrator recycles oxygen from the air and delivers it to the patient. They can be used to manage patient requirements without looking for external sources of oxygen.

Swasth Digital Health Foundation (Swasth.app) along with ACT Grants is looking to procure oxygen concentrators and channel them to hospitals across levels of care in remote areas for COVID response and long-term health-system strengthening. These oxygen concentrators can save many thousands of lives and bolster much-needed resources for hospitals. They can also be used to treat outpatients, reducing the load on hospital beds and easing the stress faced by patients.
• A high flow concentrator costs Rs.85000 and treat up to 550 patients with a severe or critical illness.
• A low flow concentrator costs Rs.45000 and can treat up to 900 patients with mild to moderate illness

Swasth is raising funds to support this effort. Please contribute by donating at: https://www.impactguru.com/fundraiser/oxygen
The distribution and allocation of concentrators will be a transparent process with the method and impact metrics published openly so you can be assured of your contributions saving lives.
If you are a company looking to deploy a CSR budget or an individual donor willing to contribute, please email us at [email protected]. We look forward to your support.

STATS display on home page

A dynamic counter ticker kind of simple UI design on the gap between footer and states that shows:

3178 Hospitals 452 Ambulance
466 verified 23 verified

This will show the scale of the data that we have. And we would be transparent too on how much more is left to be verified. May be this would nudge ppl to join us, giving them a sense of feel that - ok they need help with verificationss I should join then

Stats could be of - all the fields, and also number of volunteers. The volunteers database is on the airtable itself. So you have real time update on no. of volunteers too.

Display phone numbers

Can we add the phone number to the result? Currently there is no easy way for me to know the number on a desktop browser

Add functionality to request a removal or change in status

Is your feature request related to a problem? Please describe.
Problem : The contact featured in the website might want to have their number removed, primarily due to two reasons

  1. Their supplies have exhausted and they have stopped accepting requests
  2. The contact provided is incorrect or irrelevant

Describe the solution you'd like
Add a button in the in the UI for the contact to request for a removal of their own contact. Ideally, the removal should be an automated process based on OTP, but for now, the removal request could be passed to a channel and an admin volunteer can remove a number.

Describe alternatives you've considered
If there is a status button and a comment box that an end user can report the Availability/Situation of a contact lead, it would help in getting a more dynamic idea regarding the status of a particular contact. (Will create a separate feature request for this)

Additional context

Create an About page

About page design could be inspired from https://www.covid19india.org/about

content


Are you official?

No.

What are your sources? How is the data gathered for this project?

We are using multiple sources to obtain data. Our internal volunteer team scouts for data from circulars, notices, tweets, other databases, websites. We also obtain significant data from crowdsourced channels like - forms submitted by common people. Partner initiatives engaged in similar list creation have merged efforts with us to share their verified information.

The data is validated by a group of volunteers and published into an Airtable sheet and an API. API is available for all at life-api.coronasafe.network. We would love it if you can use this data in the fight against this virus. The source list is here.

Where can I find the data for this?

All the data is available through an API for further analysis and development here: life-api.coronasafe.network/
Do file an issue at github if you have feedbacks / want to report a bug.

Who are you?

We are a group of dedicated volunteers who curate and verify the data coming from several sources.CovidFYI - aggregates covid resources in the form of a directory repository to help people looking for information. We never collect or expose any personally identifiable data regarding the patients. We do not do 1-on-1 handling of cases. This is a product of collaboration - Covidfyi, a Swasth initiative, backed by Coronasafe, with Stepone volunteers, PIIndia, medical support group, Indian helpline, IIM-K community support (many more).

How often do you verify your information?

We verify information periodically, however, due to the size of data, please accept our apologies in case you do not find what you were looking for. We will continue to add, verify, clean the data. Since we are only as good as the data🙏 hope we are able to save lives. Look forward to your support. Thanks to everyone, wouldn't have been possible without you all.

Why are you guys putting in time and resources to do this while not gaining a single penny from it?
We believe in the true spirit of collaboration, crowdsourcing, the democratization of data, and volunteering. Please support us to save lives! Join us.

How can you volunteer with us?

Our tutorial on how to help us on airtable: https://youtu.be/PMEhgHdmRkQ
Add verified data (that doesn't already exist)
Verify existing data and update verification status
Help people 1-1 on other platforms by sharing contact/links from covidfyi
Innovate on product related ideas
Handle social media & marketing
Manage operations, volunteers, onboarding
Decide which team you want to join or just stick around to pitch in whenever there is call for help!

Links to our SLACK,

What to do if you have verified data and want to add to covidfyi database?

Go to this site (form site). Recommend you to read this before adding data Tips on how to share COVID resources online: https://www.instagram.com/p/CN-6uNIBa7q/?igshid=1x1hs3m8omw9f

Have bulk verified data?

In case you want to add data in bulk, in excel format, and you are not comfortable with airtable, send it to us in google sheet or excel format on [email protected] or reach out to us anywhere.
Join our team to add information.

Are you a similar initiative like ours? Or know one?

Run by your company, friends, college, on social media that have similar data. Reach out to them, talk about us. Earnest request to get other initiatives to collaborate as consolidation is important in the problem that we are solving. We don't seek credits, we just want this information to reach. Our goal is to provide the right information to the right people at the right time in the right manner. POC- Simran, Pranshumaan, Ajay

Verified+Available confident data to immediately pushed on social media with links

Automate -
After a data row is added & verified for availability. Zapier could make a list of such entries in a particular resource-city combination, and push tweets, telegram posts. with our website link

It will act as a real time newsletter/update mechanism on twitter. They would know what new data is available. Where is bed available now. Where is oxygen available.

issue while starting dev

> [PWA] Compile server
error - ./node_modules/next/dist/compiled/css-loader/cjs.js??ruleSet[1].rules[2].oneOf[6].use[1]!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ruleSet[1].rules[2].oneOf[6].use[2]!./styles/globals.css
TypeError: Object.entries(...).flatMap is not a function
    at Array.forEach (<anonymous>)

Showing this error while staring the development server . this may not be a bug but I am facing this when I start development server.

  1. node 10.19.0
  2. npm 7.11.1
  3. OS : ubuntu

Tailwind Classes are not working in production

Describe the bug
Tailwind classes are working fine in local builds and development. But they are not working when deployed in vercel. Adding the same as normal CSS works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Pull the clipboard branch.
  2. In AmbulanceCard.jsx file, Add ml-auto w-8 to this className attribute. and remove the style property.
  3. Push to the same branch.
  4. See the error in the deployment preview.

Expected behavior
The tailwind class name should work.

Desktop (please complete the following information):

  • OS: MacOs
  • Browser Brave browser
  • Version 1.23.73

Prevent people from filling blank forms or miscreant forms (crowdsource)

Cases

  1. since no field is mandatory, ppl may go on filling blank forms. It will push more blank rows on that table.
  2. ppl may just write dfjkfhoaidfjoaifj 02348719-32478 on the fields and cause issue

can we prevent it at the form submission or before airtable entry or before frontend? such that either it doesn't get added to airtable at all, or at least doesn't show on the website.

Partner with us section needed on Collect data page or home page

How about a 'Partner/Collaborate with Us' icon or section on the home page. This is priority as any initiative if it lands our home page will know that we are actively looking for partners to share data! Not sure about the visualisation of it though. plz recommend ideas?

Content is below:

Are you a similar initiative like ours? or know one?

Run by your company, friends, college, on social media that has similar data. Reach out to them, talk about us. Earnest request to get other initiatives to collaborate as consolidation is important in the problem that we are solving. We dont seek credits, we just want this information to reach. Our goal is to provide the right information to the right people at the right time in the right manner. POC- Simran, Pranshumaan, Ajay

This is a product of collaboration - covidfyi, a swasth initiative, backed by coronasafe, with stepone volunteers, PIIndia, medical support group, Indian helpline, InsideIIM, IIM-K community support (many more).

Link to suggested State & District in search bar not working...

Issue:

When without typing anything and just clicking on suggestion, link to suggested state & district in search bar doesn't working working. Instead after click, it removes the suggestion component.

image

Steps to reproduce:

  1. Go to https://life.coronasafe.network/
  2. Click on search bar
  3. Without typing anything, just click on suggested states or district.
  4. After clicking, it is not going to corresponding state or district instead it remove suggestion component

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.