https://github.com/compnet/seqbref

Sequence analysis of political trajectories over BRÉF data

https://github.com/compnet/seqbref

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords

electoral-data france political-science sequence-analysis
Last synced: 5 months ago · JSON representation

Repository

Sequence analysis of political trajectories over BRÉF data

Basic Info
  • Host: GitHub
  • Owner: CompNet
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 2.33 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
electoral-data france political-science sequence-analysis
Created over 1 year ago · Last pushed over 1 year ago

https://github.com/CompNet/SeqBref/blob/main/

SeqBref
==================
*Sequence analysis of political trajectories over BRF data*

* Copyright 2021-23 Nomie Fvrat & Vincent Labatut 

Bref is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For source availability and license information see `licence.txt`

* Lab site: http://lia.univ-avignon.fr/
* GitHub repo: https://github.com/CompNet/Bref
* Contact: Noemie Fevrat , Vincent Labatut 

-----------------------------------------------------------------------

## Description
This set of scripts takes advantage of the BRF database compiled from research previously carried out by Fevrat *et al.* at Avignon University [[LFM'20](#references)]. The results concerning the re-election of French elected officials presented in Nomie Fevrat's PhD dissertation [[F'24](#references)] are based on these scripts. 

If you use these scripts or the data they produce, please cite reference [[F'24](#references)]:
```bibtex
@PhdThesis{Fevrat2021,
  author           = {Fvrat, Nomie},
  title            = {Le mandat de trop ? La rlection des parlementaires et des maires en France et les conditions de sa remise en cause},
  school           = {Universit d'Avignon},
  year             = {2024},
  type             = {PhD Thesis},
  address          = {Avignon, FR},
  url              = {[tel-04550896](https://hal.science/tel-04550896)},
}
```


## Data
The scripts are meant to be applied to v1.0.2 of the BRF database, that describes representatives elected in France during the Fifth Republic (1958-present). This version is available within this GitHub repository, as well as on [Zenodo](https://doi.org/10.5281/zenodo.13834830). 


## Organization
Here are the folders composing the project:
* Folder `data`: state Legislative elected officials, legislature after legislature.
* Folder `plots`: plots generated by the scripts.
* Folder `src` : set of scripts.
  * Folder `rotations` : scripts relating to the study of re-election and rotation of members of the french Parliament from one legislature to the next under the Fifth Republic.
  * Folder `sequences` : scripts relating to the study of the longitudinal elective careers of each of the elected representatives in the database, using the sequence analysis method.


## Installation
1. Install the [`R` language](https://www.r-project.org/)
2. Download this project from GitHub and unzip the archive.
3. Use the `src/install.R` script to install the required packages.


## Use
In order to replicate the experiments from the thesis, perform the following operations:

1. Open the `R` console.
2. Set the current projet directory as the working directory, using `setwd("my/path/to/the/project/SignedBenchmark")`.
3. Run the script `src/main_rotations.R` for the rotation-related processing and `src/main_sequences.R` to perform the sequence analysis.


## Dependencies
* [`igraph`](http://igraph.org/r/) package: used to build and handle graphs.
* [`readr`](https://cran.r-project.org/web/packages/readr/index.html) package: read rectangular text data.
* [`dplyr`](https://cran.r-project.org/web/packages/dplyr/index.html) package: data manipulation.
* [`TraMineR`](http://traminer.unige.ch/) package: sequence analysis.
* [`GDAtools`](https://cran.r-project.org/web/packages/GDAtools/index.html) package: geometric data analysis.
* [`plot.matrix`](https://cran.r-project.org/web/packages/plot.matrix/index.html) package: matrix heatmap visualizatio.
* [`viridis`](https://cran.r-project.org/web/packages/viridis/index.html) package: color scale.
* [`scales`](https://cran.r-project.org/web/packages/scales/index.html) package: scale functions for visualization.


## References
* **[LFM'20]** V. Labatut, N. Fvrat & G. Marrel, *BRF  Base de donnes Rvise des lues de France*, Technical Report, Avignon Universit, 2020. [hal-02886580](https://hal.archives-ouvertes.fr/hal-02886580)
* **[F'24]** Nomie Fvrat. *Le "mandat de trop" ? La rlection des parlementaires et des maires en France et les conditions de sa remise en cause*. PHD Thesis, Avignon Universit, 2024. [tel-04550896](https://hal.science/tel-04550896)

Owner

  • Name: Complex Networks
  • Login: CompNet
  • Kind: organization
  • Location: Avignon, France

GitHub Events

Total
  • Release event: 1
  • Push event: 17
  • Create event: 1
Last Year
  • Release event: 1
  • Push event: 17
  • Create event: 1