A scraper which looks at the table of councillors on the Leeds City Council website, then at each individual councillor's page in turn to figure out their elected terms.
This scraper runs on Morph on a daily basis.
The data is used to inform two comparisons with the data in Wikidata, with the aim of keeping Wikidata up to date. These are:
In theory, neither of these pages should highlight any differences.
Leeds City Council IDs need mapping to Wikidata IDs - this is done in lcc_id_map.py
. Missing IDs are flagged at the end of a scraper run.
All IDs in this list are scraped, even if they are not current councillors. This lets us keep a historic comparison.
To download data sign in with GitHub
rows 10 / 380
ward | url | honorific_string | party_id | name | party | id | ward_id | wikidata_id | current | start | lcc_id | end |
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Councillor
|
|
Andrew Carter CBE
|
|
109-2012-05-03T00:00:00Z
|
|
Q55469119
|
false
|
2012-05-03T00:00:00Z
|
109
|
2016-05-05T00:00:00Z
|
|
|
Councillor
|
|
Andrew Carter CBE
|
|
109-2016-05-05T00:00:00Z
|
|
Q55469119
|
false
|
2016-05-05T00:00:00Z
|
109
|
2018-05-03T00:00:00Z
|
|
Calverley and Farsley
|
Councillor
|
Q9626
|
Andrew Carter CBE
|
Conservative
|
109-2018-05-03T00:00:00Z
|
Q55466776
|
Q55469119
|
true
|
2018-05-03T00:00:00Z
|
109
|
|
|
|
Councillor
|
|
Wyn Kidger
|
|
7108-2018-05-08T00:00:00Z
|
|
Q55469199
|
false
|
2018-05-08T00:00:00Z
|
7108
|
2019-05-06T00:00:00Z
|
|
Morley South
|
Councillor
|
Q55465915
|
Wyn Kidger
|
Morley Borough Independents
|
7108-2019-05-07T00:00:00Z
|
Q55466782
|
Q55469199
|
true
|
2019-05-07T00:00:00Z
|
7108
|
|
|
Pudsey
|
Councillor
|
Q9626
|
Mark Harrison
|
Conservative
|
7109-2018-05-08T00:00:00Z
|
Q55466813
|
Q55469188
|
true
|
2018-05-08T00:00:00Z
|
7109
|
|
|
|
Councillor
|
|
Mohammed Shahzad
|
|
7106-2018-05-04T00:00:00Z
|
|
Q55469247
|
false
|
2018-05-04T00:00:00Z
|
7106
|
2019-05-06T00:00:00Z
|
|
Moortown
|
Councillor
|
Q6467393
|
Mohammed Shahzad
|
Labour & Co-operative Party
|
7106-2019-05-07T00:00:00Z
|
Q55466778
|
Q55469247
|
true
|
2019-05-07T00:00:00Z
|
7106
|
|
|
|
Councillor
|
|
Andy Hutchison
|
|
7107-2018-05-08T00:00:00Z
|
|
Q55469192
|
false
|
2018-05-08T00:00:00Z
|
7107
|
2020-05-07T00:00:00Z
|
|
|
Councillor
|
|
Andy Hutchison
|
|
7107-current
|
|
Q55469192
|
true
|
|
7107
|
|
Average successful run time: 8 minutes
Total run time: 11 days
Total cpu time used: about 1 hour
Total disk space used: 187 KB