unicef / magicbox-maps-prototype

Suggest schools and regions most in need of infrastructure and planning for disaster prevention and response
4 stars 5 forks source link

Add baseline mobility for Colombia #13

Closed thoat closed 6 years ago

thoat commented 6 years ago

Background

Daily Activity/Mobility Index is a new socio-economic metric that we want to add to this app. It can serve as a risk indicator just like the other existing indices e.g. Violence, Natural Disaster.

We call it "baseline" mobility because the data to be added in at the moment will be static, allowing app users (e.g. data scientists, decision-makers) to compare other data against it, if they have such dynamic data sets to load in.

We define "activity" as same-admin movement, i.e. these people do not move at all in a given day. We define "mobility" as movement from one admin to another, i.e. these people were in one place early in the day and in another place at a later time.

Task description

We are given csv files of the format [origin_id, dest_id, journeys, people]. We need to find out a way to load that data into the app. Then, on the UI, we will add a new checkbox for Daily Activity/Mobility Index. We also need to add day selections (radio buttons, maybe?). The data come in 7 files, from Monday to Sunday, and we'd like the user to be able to see the activity/mobility visualization for each day of the week.

thoat commented 6 years ago

This feature has been accomplished on branch dev-mobility-baseline. Close this issue now.