jacksonj04/leeds-city-council-members

View on GitHub
lcc_id_map.py

Summary

Maintainability
A
0 mins
Test Coverage
people_ids = {
    '106': 'Q55469268',
    '107': 'Q32066575',  # Judith Blake
    '109': 'Q55469119',
    '111': 'Q55469097',
    '114': 'Q55469185',
    '116': 'Q27929382',  # John Procter
    '177': 'Q58697780',  # Suzi Armitage
    '179': 'Q56882253',  # Graham Hyde
    '180': 'Q56884293',  # Jack Dunn
    '181': 'Q55469116',
    '184': 'Q55469085',
    '185': 'Q55469121',
    '198': 'Q56882256',  # Robert Finnigan
    '190': 'Q55726338',  # Brian Cleasby
    '191': 'Q42529929',  # Bernard Atha
    '192': 'Q55469358',  # John Illingworth
    '197': 'Q55469136',
    '198': 'Q55469195',
    '199': 'Q55469151',
    '200': 'Q55738972',  # Frank Robinson
    '201': 'Q55469096',
    '203': 'Q55726336',  # Christopher Townsley
    '204': 'Q55068719',
    '205': 'Q56882257',  # Josie Jarosz
    '206': 'Q55469172',
    '211': 'Q55726340',  # David Congreve
    '213': 'Q55726339',  # Ann Castle
    '214': 'Q55469216',
    '218': 'Q57080792',  # Mick Coulson
    '220': 'Q55469177',
    '221': 'Q55469217',
    '222': 'Q55469279',
    '224': 'Q56884296',  # Rachael Procter
    '228': 'Q55739173',  # Alan Taylor
    '229': 'Q55372604',
    '230': 'Q55469264',
    '232': 'Q56884295',  # Patrick Davey
    '234': 'Q55469143',
    '235': 'Q56884299',  # Sue Bentley
    '236': 'Q55469218',
    '239': 'Q55469138',
    '241': 'Q55469210',
    '242': 'Q55469223',
    '244': 'Q55469171',
    '251': 'Q55739084',  # Thomas Murray
    '253': 'Q55469224',
    '256': 'Q55469228',  # Elizabeth Nash
    '257': 'Q56884294',  # Adam Ogilvie
    '258': 'Q55738936',  # Keith Parker
    '260': 'Q55469236',
    '261': 'Q57080790',  # Brian Selby
    '263': 'Q55738939',  # Neil Taggart
    '268': 'Q58697785',  # Andrea McKenna
    '269': 'Q55469239',
    '466': 'Q55469132',
    '469': 'Q55726341',  # Judith Chapman
    '1356': 'Q55469191',
    '1357': 'Q55469156',
    '1358': 'Q55469134',
    '1363': 'Q55469204',
    '1852': 'Q55469259',
    '1864': 'Q56882255',  # Lucinda Yeadon
    '2263': 'Q55469184',
    '2285': 'Q55469173',
    '2286': 'Q57080793',  # Ghulam Hussain
    '2288': 'Q55469179',
    '2290': 'Q55469174',
    '2291': 'Q55469221',
    '2298': 'Q57080791',  # Shirley Varley
    '2301': 'Q55469205',
    '2302': 'Q55469242',
    '2303': 'Q57080787',  # Rod Wood
    '2304': 'Q55469080',
    '2626': 'Q56884298',  # Christine MacNiven
    '2627': 'Q55469197',
    '2628': 'Q55469123',
    '2629': 'Q55469111',
    '2631': 'Q55469277',
    '2632': 'Q55469133',
    '2633': 'Q55469125',
    '2634': 'Q55469131',
    '4563': 'Q55469176',
    '4566': 'Q56882251',  # Janette Walker
    '4564': 'Q58697779',  # Maureen Ingham
    '4565': 'Q58697786',  # Roger Harington
    '4568': 'Q55469180',
    '4567': 'Q56882252',  # Christine Towler
    '4569': 'Q338032',
    '4570': 'Q30164792',  # Alex Sobel
    '4571': 'Q58697783',  # Bill Urry
    '4572': 'Q56882258',  # David Nagle
    '4573': 'Q19957188',  # Judith Cummins
    '4576': 'Q55469113',
    '4577': 'Q55469206',
    '4578': 'Q55469091',
    '6002': 'Q57080788',  # Terry Wilford
    '6003': 'Q55469150',
    '6005': 'Q57080789',  # Stuart McKenna
    '6006': 'Q55469235',
    '6007': 'Q55469241',
    '6008': 'Q55469255',
    '6009': 'Q55469263',
    '6338': 'Q56884297',  # Catherine Dobson
    '6339': 'Q55469190',
    '6340': 'Q55469189',
    '6341': 'Q55469088',
    '6660': 'Q55469154',
    '6661': 'Q55469090',
    '6662': 'Q55469237',
    '6663': 'Q55469262',
    '6667': 'Q55469256',
    '6668': 'Q55469148',
    '7105': 'Q55469108',
    '7106': 'Q55469247',
    '7107': 'Q55469192',
    '7108': 'Q55469199',
    '7109': 'Q55469188',
    '7110': 'Q55469245',
    '7111': 'Q55469187',
    '7112': 'Q55469167',
    '7113': 'Q55469278',
    '7114': 'Q55469158',
    '7115': 'Q55469203',
    '7116': 'Q55469186',
    '7117': 'Q55469152',
    '7118': 'Q55469084',
    '7119': 'Q55469243',
    '7120': 'Q55469118',
    '7121': 'Q55469215',
    '7122': 'Q55469160',
    '7123': 'Q55469222',
    '7124': 'Q55469149',
    '7125': 'Q55469254',
    '7126': 'Q55469261',
    '7127': 'Q55469282',
    '7128': 'Q55469141',
    '7129': 'Q55469142',
    '7130': 'Q55469196',
    '7131': 'Q55469094',
    '7363': 'Q63031248',  # Diane Chapman
    '7364': 'Q56882256',  # Robert Finnigan
    '7365': 'Q62225037',  # Lou Cunningham
    '7366': 'Q62273369',  # Ann Forsaith
    '7367': 'Q62273334',  # Mirelle Midgley
    '7368': 'Q62823607',  # Abigail Marshall-Katung
    '7369': 'Q63031256',  # Trish Smith
    '7371': 'Q62273427',  # Chris Howley
    '7370': 'Q62273306',  # Nicole Sharpe
    '8588': 'Q62273338',  # Linda Richards
}

party_names = {
    'Conservative': 'Q9626',
    'Garforth & Swillington Independents': 'Q55465979',
    'Green Party': 'Q9669',
    'Labour': 'Q9630',
    'Labour & Co-operative Party': 'Q6467393',
    'Liberal Democrats': 'Q9624',
    'Morley Borough Independents': 'Q55465915',
}

ward_names = {
    'Adel and Wharfedale': 'Q55466756',
    'Alwoodley': 'Q56651541',
    'Ardsley and Robin Hood': 'Q55466797',
    'Armley': 'Q55466825',
    'Beeston and Holbeck': 'Q55466755',
    'Bramley and Stanningley': 'Q55466807',
    'Burmantofts and Richmond Hill': 'Q55466805',
    'Calverley and Farsley': 'Q55466776',
    'Chapel Allerton': 'Q55466785',
    'Cross Gates and Whinmoor': 'Q55466803',
    'Farnley and Wortley': 'Q55466762',
    'Garforth and Swillington': 'Q55466783',
    'Gipton and Harehills': 'Q55466757',
    'Guiseley and Rawdon': 'Q55466823',
    'Harewood': 'Q55466789',
    'Headingley and Hyde Park': 'Q55466799',
    'Horsforth': 'Q55466779',
    'Hunslet and Riverside': 'Q55466821',
    'Killingbeck and Seacroft': 'Q55466786',
    'Kippax and Methley': 'Q55466808',
    'Kirkstall': 'Q55466761',
    'Little London and Woodhouse': 'Q55466753',
    'Middleton Park': 'Q6842031',
    'Moortown': 'Q55466778',
    'Morley North': 'Q55466800',
    'Morley South': 'Q55466782',
    'Otley and Yeadon': 'Q55466766',
    'Pudsey': 'Q55466813',
    'Rothwell': 'Q55466765',
    'Roundhay': 'Q56651558',
    'Temple Newsam': 'Q55466781',
    'Weetwood': 'Q55466759',
    'Wetherby': 'Q55466810',
}