Skip to content

The scraper/parser that produces data for TheyWorkForYou, PublicWhip, etc

License

Notifications You must be signed in to change notification settings

mysociety/parlparse

This branch is 2 commits ahead of, 23 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d5cfca9 · Dec 9, 2024
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Dec 9, 2024
Oct 7, 2024
Jun 29, 2016
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Apr 27, 2024
Oct 7, 2024
Jan 22, 2011
May 27, 2015
Oct 7, 2024
Mar 20, 2023
Mar 20, 2023
Oct 7, 2024

Repository files navigation

parlparse

Prerequisites

You should probably install the following tools before attempting anything in this README, otherwise things may not work as expected (or at all):

Scrape data from data.parliament.uk

The source of data for the 2010 election onwards is data.parliament.uk. This data is scraped and stored locally for parsing, but needs updating manually using the following process.

  1. Change to the scripts/datadotparl directory.
  2. Run ./crawl-members

Update from data.parliament.uk

The data.parliament data is used to generate a list of members positions (in ministers-2010.json) which includes government posts, opposition posts, parliamentary posts and committee memberships from the 2010 general election onwards.

Before updating, you should run the data.parliament.uk scraper.

  1. Change to the scripts/datadotparl directory.
  2. Run ./update-members to parse the XML and update things.

About

The scraper/parser that produces data for TheyWorkForYou, PublicWhip, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published