hansard icon indicating copy to clipboard operation
hansard copied to clipboard

mp_vote_record issue

Open annalombardi opened this issue 3 years ago • 1 comments

When using the function mp_vote_record() I'm finding a discrepancy for some MPs when compared with the Hansard website.

David Cameron, for example, has 252 voting records over his time as PM from the Hansard website: https://hansard.parliament.uk/search/MemberContributions?memberId=1467&startDate=2010-05-11&endDate=2016-07-13&type=Divisions&outputType=List&partial=False

but I only get 212 when I run my R script: Cameron_vote_record <- mp_vote_record(1467, start_date = "2010-05-11", end_date = "2016-07-13", verbose = FALSE)

annalombardi avatar Feb 10 '22 15:02 annalombardi

There appears to be data missing from the data.parliament API between 2015-03-26 and 2016-03-14. I'm not sure as to the status of the underlying API. I'll take a look in the next couple of weeks if I have time and try to get back to you.

evanodell avatar Feb 19 '22 12:02 evanodell