Parlyplaces

Robert Brook

What was the aim of the work?

Parlyplaces was a prototype API used to provide information to the Parliament Local service. Parlyplaces was a name used to describe the Parliament Local API.

Parlyplaces was used to examine –

  • methods of storing a sample of EDMs, Written Answers or news on the Parliamentary website, including information on geographic location
  • methods of providing information from the stored data in JSON and XML
  • methods of filtering and limiting the returned information; by number of items, type and distance from an originating place

All data used was scraped or otherwise implied from web pages published on the official parliament.uk site.

The status of the content parser was publicly visible at http://parlyplacesparser.heroku.com. This parser ran regularly and created items in the data store.

What is the current status of the work?

Currently a site exists at http://parlyplaces.heroku.com. It presents a publicly visible basic HTML front-end over a separately provided API.

The service provided four API calls:

  1. for a given place name: return items with that place name attached
  2. for a given place name: return items with a place name attached within 15km of the given place name
  3. for a given EU electoral region: return items with place names attached than are contained within that region
  4. a list of data types

Examples of each API call were given. The service only included information from a selection of placenames and may no longer return any results.

What’s next?

There is no intention to do any more work on the site at present.

---

« Parliament Local