All Projects â†’ luvi â†’ caricovidsite

luvi / caricovidsite

Licence: MIT License
Caribbean focused COVID-19 case map

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to caricovidsite

cotect
🛡Crowd-sourced COVID-19 reporting and assessment system.
Stars: ✭ 14 (-6.67%)
Mutual labels:  covid-19, covid
us-covid19
Data repository of State's Health Department stats for COVID19 in the United States
Stars: ✭ 37 (+146.67%)
Mutual labels:  covid-19, covid
app
CovidTrace mobile app.
Stars: ✭ 19 (+26.67%)
Mutual labels:  covid-19, covid
coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+226.67%)
Mutual labels:  covid-19, covid
covid-19-self-assessment
The tool takes the public through a series of questions to inform those who are concerned they may have contracted COVID-19.
Stars: ✭ 31 (+106.67%)
Mutual labels:  covid-19, covid
Pandemic-Produce-Delivery-Project
An ongoing open-source e-commerce shop using React, Express, Firebase, and MongoDB. Designed for pandemic-relief and social good. New contributors are always, always, welcomed, regardless of where you are 🔥. Feel free to reach out at [email protected]~
Stars: ✭ 20 (+33.33%)
Mutual labels:  covid-19, covid
data2019nCoV
COVID-19 Pandemic Data R Package
Stars: ✭ 40 (+166.67%)
Mutual labels:  covid-19, covid
vaccipy
Automatische Impfterminbuchung für www.impfterminservice.de
Stars: ✭ 548 (+3553.33%)
Mutual labels:  covid-19, covid
covid19-bd
Public API for accessing district-wise dataset and daily stats for Covid-19 in Bangladesh. Data is pulled from IEDCR reports
Stars: ✭ 29 (+93.33%)
Mutual labels:  covid-19, covid
covid-19
COVID-19 World is yet another Project to build a Dashboard like app to showcase the data related to the COVID-19(Corona Virus).
Stars: ✭ 28 (+86.67%)
Mutual labels:  covid-19, covid
SPREAD
Spread visualizes how viruses and other pathogens are spreading in time and space. It creates compellable shareable, interactive and time-animated visualization.
Stars: ✭ 9 (-40%)
Mutual labels:  covid-19, covid
covidpass
Scan your vaccination, test and recovery certificates in QR code representation and save them to your Apple Wallet
Stars: ✭ 137 (+813.33%)
Mutual labels:  covid-19, covid
covid19-italy
Quick streamlit dashboard to visualise the impact of COVID-19 in Italy
Stars: ✭ 24 (+60%)
Mutual labels:  covid-19, covid
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (+33.33%)
Mutual labels:  covid-19, covid
covid-xprize
Open-source repository containing examples and documentation for the Cognizant XPRIZE Pandemic Response Challenge
Stars: ✭ 36 (+140%)
Mutual labels:  covid-19, covid
rid-covid
Image-based COVID-19 diagnosis. Links to software, data, and other resources.
Stars: ✭ 74 (+393.33%)
Mutual labels:  covid-19, covid
Covid19arData
Data COVID-19 Argentina actualizada y en formatos abiertos.
Stars: ✭ 51 (+240%)
Mutual labels:  covid-19, covid
covid-pass-verifier
🦠 Scan, parse and verify HCERT compliant government-issued COVID-19 passes.
Stars: ✭ 25 (+66.67%)
Mutual labels:  covid-19, covid
covid
COVID-19 cases around the world.
Stars: ✭ 14 (-6.67%)
Mutual labels:  covid-19, covid
coronavirus
covid-19 data in J
Stars: ✭ 15 (+0%)
Mutual labels:  covid-19, covid

caricovidmap

This is a map (live at caricovidmap.com) that aggregates Johns Hopkins University open global data, but with a focus on the Caribbean region. There are two main views. The map page which is the home page, and Case evolution graphs which plots the data over time on a graph.

Motivation

Just about when the situation was evolving into a pandemic, a journalist contacted me lamenting the fact they as journalists, would have to go to Johns Hopkins site and manually sum up the Caribbean relevant data. Armed with the link to the open Johns Hopkins data, it quickly became clear that what they needed could easily be built.

Build status

Netlify Status www.caricovidmap.com

Screenshots

Map page Case graphs

Tech Stack

Frontend

Built with

This was initialized using create-react-app

Backend
  • there is almost no backend, in that the data is not persisted anywhere. This code be a future improvement. It's essentially a front end for Johns Hopkins data, with the exception of our own CSV File.

For the Map page, the data is edited, corrected and in some cases merged with our own data. On the case graphs page, it is almost strictly a frontend on johns hopkins data with little to no editing.

Code Example

The heart of the project is in the pages folder, in the Map.js file.

Once the componentDidMount, a series of promises are triggered by the core getCOVIDInfo() function. This chain sets the state of various data points that are used to display information on the Map page E.g

 getCOVIDInfo(url)
      .then((body) => {
        parse(body, (err, output) => {
          const arr = output;
          this.setState({ date: moment(_.last(arr[0])).format('dddd, MMMM Do YYYY') }); //date of latest entry
          johnsHopkinsData = arr.filter(isCaribbeanCountry);
          johnsHopkinsCountries = new Set();
        });
        return getCOVIDInfo(deathsSource);
      })

Installation

Once you git clone this repo, an "npm start" would spin up a development server with a local instance. Please use your own mapbox API token when running your own instance of the project. You have to replace the TOKEN in src/MAPBOX_ACCESS_TOKEN.js with your own, as it is restricted to only work on caricovidsite.com. You can grab one for free at mapbox.com

Tests

Needed! See open issues.

Contribute

Contributions are welcome, especially if you are a caribbean dev ;) Good beginner issues are labelled. Here is the contributing guideline coming soon.

Language Support

If you want to add a language, please copy the file src/locales/en.js to src/locales/__language__.js and translate provided strings to your language. Remember to add a translation for your change language button too :)

Then import your newly created translations file inside src/locales/index.js.

import __language__ from './__language__'

Add your imported object to i18n's resources:

  resources: {
    en,
    __language__,
  },

Finally, add a button inside src/app/App.js to switch to your new language:

  <Nav.Item>
    <Nav.Link style={{ color: "white", paddingRight: 10 }} onClick={() => i18n.changeLanguage('__language__')}>{t('language___language__')}</Nav.Link>
  </Nav.Item>

Credits

Thank you Clydeen McDonald for approaching me with your need!

License

MIT © Janique-ka

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].