CodeForAfrica / sensors.AFRICA

sensors.AFRICA is a citizen-science focused project by Code for Africa that seeks to address data gaps by providing low cost sensors, which people can use to measure and monitor the quality of the air, water, and sound in their communities.
https://sensors.africa
GNU General Public License v3.0
19 stars 7 forks source link

Update cities section to include Kumasi and Accra (Ghana) #334

Open usmanbiu opened 8 months ago

usmanbiu commented 8 months ago

Description

Add Accra and Kumasi as options to the dropdown menu to search for cities where sensors are located. See screenshot

Screenshots

Screenshot from 2024-03-04 09-39-53

Files

File for adding cities to the drop-down - src/pages/air/city/[id].js

To Reproduce

  1. Go to the sensors.Africa website
  2. Click on AIR
  3. Clock on select cities and you will notice Kumasi and Accra are missing.

Tasks

gideonmaina commented 8 months ago

@usmanbiu These are the current national stats that I have for Ghana.

    deathCount:"28,000",
    childDeathCount: "29,000"

Ideally, the stats should be scoped to a particular city.

The following fields are missing :

  1. topIllness for top illness caused by air pollution in Ghana - city
  2. annualAverage for PM2.5 levels for selected city
  3. percent is basically calculated using the annual average PM2.5 levels and WHO guidelines.

The challenge is getting these statistics. For reference, these are the sources I used to get:

  1. National death count
  2. National child death count using 2019 as the base year.

One thing to ponder, do child deaths contribute to national death count

gideonmaina commented 8 months ago

I also think it is important to cite where we got the data from and a link to the source if any.