Make FracTracker layer live-loading by parsing CSV
The FracTracker layer is currently static, because we need to parse a CSV into JSON. I think we can do that in code, dynamically.
The source is here: https://github.com/publiclab/leaflet-environmental-layers/blob/master/src/fractracker.js
This map shows the location of organizations working on oil & gas issues in the US and internationally. http://ft.maps.arcgis.com/apps/Embed/index.html?appid=8defce10bdc64a35ae4fd3997edd2b1e
The data set of this map is here : https://docs.google.com/spreadsheets/d/19j4AQmjWuELuzn1GIn0TFRcK42HjdHF_fsIa8jtM1yw/pub?gid=288258812&single=true&output=csv
Here is a range of CSV to JSON parsers we might use! https://www.npmjs.com/search?q=parse%20csv
Eventually we might make CSV and XML parsing a utility of the whole library, since we might anticipate having to do this kind of parsing with lots of APIs.
Here's some interesting code that is parsing XML into JSON, for reference:
http://darinacosta.com/skytruth/src/dataManager.js (http://darinacosta.com/skytruth/ live)