Portugal Local Elections Data Analysis
Data on Portuguese Local Elections for "Câmaras Municipais" and some analysis. I aggregate data and process data from a number of sources and join them in one .csv file.
List of analysis done on this data.
- Portuguese Local Elections – Municipalities with more enrolled voters have a higher percentage of abstention
- Portuguese Local Elections – Ballot Order Effects
Fell free to pull request additions of other analyses.
Main Data File
The main data file is available here. Columns explanation:
The ID given to the municipality by INE (Nacional Insitute of Statistics).
Name of the municipality.
Number of people enrolled to vote.
Number of people who voted.
Percentage of people who were enrolled but didn't vote. Calculated as 100 - ((voters/enrolled) * 100).
Number of blank votes.
Number of null votes.
Letter by which the party is identified.
This can be Party (a sole party), Alliance (a group of parties) or Independent (group of citizens not connected to a party)
Number of people who voted in the party.
Percentage of people who voted in the party. Calculated as (votes / (voters - blank_votes - null_votes)) * 100
Number of party representatives elected.
Name of the main candidate of the party.
Gender of the main candidate of the party.
Position of the party in the ballot (for example, 1 means that the party was the first one listed in the ballot).
If True, it means that there are problems with the data in position_ballot column. Description of the problem can be found here.