{'fraction_non_alphanumeric': 0.02168021680216802, 'fraction_numerical': 0.013550135501355014, 'mean_word_length': 5.2100840336134455, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The 2015 Canadian Election on Twitter: A Tidy Algorithmic Analysis

During the 2015 General Election in Canada, the Liberal Party of Canada was elected to form a majority government, despite being third at the start of the electoral campaign. How was perceived the incumbent party and its rivals during the election? By using a tidy approach of a massive dataset collected on Twitter (3.5 millions tweets), we developed two methodologies to characterize how politicians were perceived on social media during the election. First, a sentiment analysis was performed regarding each political leader, then by using the whole dataset, different topics of the election were associated to each leader through a Latent Dirichlet Allocation (LDA).