Automating Vote Tabulation
Learn and build a program that will automate the process of scraping and then tabulating hundreds of votes at a time.
Identify the votes
The first problem we’ll need to solve is identifying the votes
we want to analyze. We’ll use our old friend pd.read_html
to
scrape the page that lists all the votes on private members’
bills from the first session of the parliament. We’ll then
pass the data to a new data frame called vote_list.
Get hands-on with 1400+ tech skills courses.