Legislativas2022
A repository with scripts and data for the Portuguese General Elections of January 2022
Repository Structure
APPS
Here you can find some Python apps that explore the datasets
- sunburst.py creates a Sunburst visualization bu electoral circle, party, type of candidate, and candidate name
- color_discrete_map.py is a color sequence that can be adapted to other projects. With contains a dictionary of all parties running for the 2022 elections, and the respective logo color. The color was picked from the official website or wikipedia page.
- crowd.py takes data from crowdtangle and plots a graph showing the accumlated likes between 08 december 2021 and 07 january 2022 on Facebook in posts that used the hashtag #Legislativas2022
CONTENT
This folder contains video and images for reference
PDFS_CNE
This folder contains the PDFs published at CNE with the final lists per electoral circle
FInal Lists present at 08 Jan 2022
Aveiro
Beja
Bragança
Castelo Branco
Évora
Faro
Guarda
Leiria
Portalegre
Porto
Santarém
Setúbal
Vila Real
Viseu
Madeira
Açores
**Missing Lists on 08 JAN 2022 **
Viana do Castelo
Braga
Coimbra
Lisboa
Europa
Fora da Europa
PRODUCTS
In this folder you can find several products derived from the PDFS_CNE folder
- A .csv file with circle, party, candidate, and type columns.
Type stands for efective or substitute candidate - A combined PDF file of all available PDF files
- A .csv file containing an already filtered and treated dataset from Crowdtangle with the search query “#Legislativas2022” between 08/12/2021 and 07/01/2022
- A folder with datasets from Crowdtangle with the search results for every candidate between 01 JAN 2022 to 07 JAN 2022