PMA-2020 / pma-api

The best way to programmatically access PMA2020 data.
http://api.pma2020.org
MIT License
1 stars 3 forks source link

Query string - character escaping and support for explicit strings #28

Open joeflack4 opened 6 years ago

joeflack4 commented 6 years ago

Example syntax - character escaping

Returns data, for 2 surveys, broken down by parity, for all indicators with the name "Unmet need for family planning, spacing (all women)"

http://api.pma2020.org/v1/datalab/data?
survey=PMA2014_BFR1,PMA2015_BFR2&
characteristicGroup=parity&
overTime=false&
filters=[indicator.label=Unmet\ need\ for\ family\ planning\,\ spacing\ \(all\ women\)]  <-----

Example syntax - support for explicit strings

This is probably a lot easier than the above character escaping example.

http://api.pma2020.org/v1/datalab/data?
survey=PMA2014_BFR1,PMA2015_BFR2&
characteristicGroup=parity&
overTime=false&
filters=[indicator.label="Unmet need for family planning, spacing (all women)"]  <-----