Skip to content

Project Plan

SmilingKat edited this page Feb 1, 2018 · 5 revisions

Idea:

  1. Get Data from Irish Water website
  2. Represent (geo-based/ location specific enquiry) data so it is a) meaningful to the user b) compliant with a standard format (can be reused in other countries) c) displays indivdual danger warnings d) Review trend for quality

Start with the Dublin Area

Weeek 1:

  • setup github (everyone)
  • Bijith: get data from irish water website by using screen scraping
  • Antti/Roshan: start on the website with a map display for good/bad water
  • Brian: identify people in IW, DPA and EPA to talk to
  • Kat: Research into "Trinkwasser" from Code for Germany, Create Github Wiki
  • John: Create a group for transparentwater@codeforireland.com, Send GitHub invitation - Done

Week 2 (Catch-up call week of 12/01/2018)

  • review week 1 results
  • see how data looks

Important Links

Irish Water Website:

  1. https://www.water.ie/water-supply/water-quality/

  2. url: https://www.water.ie/water-supply/water-quality/results/?act=findAddress&lat=&long=&wq-address=Phibsborough METHOD: GET -> Response:

      `HTTP/1.1 302 Found`
      `Server: Roxen`
      `Vary: *`
      `Vary: Accept-Encoding`
      `Content-Type: text/html; charset=UTF-8`
      `Content-Encoding: gzip`
      `Date: Thu, 01 Feb 2018 21:06:01 GMT`
      `Location: https://www.water.ie/water-supply/water-quality/results/index.xml?act=getZone&long=-697935.358646948&lat=7049722.29593245`
      `Expires: Wed, 01 Feb 2017 15:06:01 GMT`
      `Transfer-Encoding: chunked`
      `Accept-Ranges: bytes`
      `Connection: keep-alive`
      `Last-Modified: Thu, 01 Feb 2018 21:06:01 GMT`
    

You are able to use the Location parameter in the response header to get the zone details and the access needed for the third url

  1. url: https://www.water.ie/water-supply/water-quality/results/summary/allresults.xml?filter=1&wq-date-from=01-Jan-2017&wq-date-to=31-Dec-2017&wq-parameter= METHOD: GET

GitHub: https://github.com/codeforireland2/water_import

Slack: https://codeforireland.slack.com/

Clone this wiki locally