CodeForAfrica / sensors.AFRICA-api

The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
https://api.sensors.africa/
18 stars 7 forks source link

Publish data to openAFRICA #20

Closed karimkawambwa closed 5 years ago

karimkawambwa commented 5 years ago

Description

openAFRICA is our primary data repository. We should therefore create a "sensors.AFRICA Archive" dataset where we publish the archive CSV and data as resources on the dataset instead of just to S3 to make it easily discoverable.

Type of change

CSV Sample Format

cc @DavidLemayian

sensor_id;sensor_type;location;lat;lon;timestamp;value_type;value
33;SDS011;11;-6.818;39.285;2018-09-01T00:00:32.699335+00:00;P2;5.37
33;SDS011;11;-6.818;39.285;2018-09-01T00:00:32.699335+00:00;P1;15.82
65;SDS011;11;-6.818;39.285;2018-09-01T00:00:33.066552+00:00;P1;10.07
65;SDS011;11;-6.818;39.285;2018-09-01T00:00:33.066552+00:00;P2;3.60
64;SDS011;11;-6.818;39.285;2018-09-01T00:00:33.274350+00:00;P2;3.30
64;SDS011;11;-6.818;39.285;2018-09-01T00:00:33.274350+00:00;P1;9.43
34;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.226396+00:00;temperature;27.80
34;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.226396+00:00;humidity;67.00
63;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.713326+00:00;humidity;70.90
63;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.713326+00:00;temperature;26.90
66;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.833327+00:00;humidity;73.30
66;DHT22;11;-6.818;39.285;2018-09-01T00:00:34.833327+00:00;temperature;26.20
...

Dataset Display

screen shot 2019-02-15 at 11 51 34 am

Checklist:

kilemensi commented 5 years ago

@phillipahereza, if you have a minute, can you review this PR and lets merge it if it looks good to you.

phillipahereza commented 5 years ago

@karimkawambwa check this out https://github.com/vy-labs/cronitor