empowerhack / DrawMyLife-Service

API and Admin system for the Draw My Life initiative - Volunteers: check README and GitHub Projects to get started.
https://github.com/empowerhack/DrawMyLife-Service/projects
MIT License
13 stars 0 forks source link

Prototype visualising Draw My Life data using the HXL Proxy API #160

Open krissy opened 7 years ago

krissy commented 7 years ago

Related to: #147

What

We want to create a simple prototype client that consumes the JSON endpoint from the HXL Proxy API and displays data views in a graph.

NB: Though we eventually want to query the confirmed HXL Proxy API URL using the data in #147, we are not blocked on working on this ticket. We have a test HXL Proxy dataset setup which currently reads from our sample Google Spreadsheet.

You can access our test dataset by going to https://proxy.hxlstandard.org/data/Bkq0o4, and copying the JSON link there - at time of writing this is https://proxy.hxlstandard.org/data/Bkq0o4/download/drawmylife_data_test_v1.json. This response is an array of arrays, something like the following:

[
["Emotional State (Leuven scale - wellbeing)", "Stage of journey", "Country drawn in", "Total children affected", "Children who identify as female", "Children who identify as male", "Children who don't identify as male or female", "Children between the ages of 5-12", "Children between the ages of 13-18"],
["#impact+indicator+code", "#affected+children", "#country+code", "#affected+children+total", "#affected+children+f", "#affected+children+m", "#affected+children+i", "#affected+children+age_5_12", "#affected+children+age_13_18"],
["5", "idps", "RS", "12", "4", "7", "1", "6", "6"],
["5", "in_shelter", "RS", "12", "4", "7", "1", "6", "6"],
["5", "awaiting_transit", "RS", "12", "4", "7", "1", "6", "6"],
["5", "in_transit", "RS", "12", "4", "7", "1", "6", "6"],
["5", "relocated", "RS", "12", "4", "7", "1", "6", "6"],
["4", "idps", "RS", "35", "12", "15", "2", "14", "17"],
["4", "in_shelter", "RS", "35", "12", "15", "2", "14", "17"],
["4", "awaiting_transit", "RS", "35", "12", "15", "2", "14", "17"],
["4", "in_transit", "RS", "35", "12", "15", "2", "14", "17"],
["4", "relocated", "RS", "35", "12", "15", "2", "14", "17"],
["3", "idps", "RS", "5", "3", "2", "3", "5", "0"],
["3", "in_shelter", "RS", "5", "3", "2", "3", "5", "0"],
["3", "awaiting_transit", "RS", "5", "3", "2", "3", "5", "0"],
["3", "in_transit", "RS", "5", "3", "2", "3", "5", "0"],
["3", "relocated", "RS", "5", "3", "2", "3", "5", "0"],
["2", "idps", "RS", "5", "3", "2", "3", "5", "0"],
["2", "in_shelter", "RS", "5", "3", "2", "3", "5", "0"],
["2", "awaiting_transit", "RS", "5", "3", "2", "3", "5", "0"],
["2", "in_transit", "RS", "5", "3", "2", "3", "5", "0"],
["2", "relocated", "RS", "5", "3", "2", "3", "5", "0"],
["1", "idps", "RS", "5", "3", "2", "3", "5", "0"],
["1", "in_shelter", "RS", "5", "3", "2", "3", "5", "0"],
["1", "awaiting_transit", "RS", "5", "3", "2", "3", "5", "0"],
["1", "in_transit", "RS", "5", "3", "2", "3", "5", "0"],
["1", "relocated", "RS", "5", "3", "2", "3", "5", "0"]
]

How

References

1coolmatt8083 commented 3 months ago

so i have lightspeed, could i use this to bypass it.