x <- mp_vote_record(172, lobby='all')
x <- mp_vote_record(172, lobby='aye')
x <- mp_vote_record(172, lobby='no')
# the extra_args parameter allows the inclusion of additional arguments or
# queries that are not available through the function's parameters
x <- mp_vote_record(172, extra_args = '&session=2016/17')
Run the code above in your browser using DataLab