thomasdubdub / 2022-french-mayor-sponsorships

Visualization of French mayor's sponsorships for the French presidential election of 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2022 French mayor sponsorships (latest update: 07/03/22)

Visualization of French mayor's sponsorships for the French presidential election of 2022. Chosen candidates are displayed on a map of metropolitan French towns ("communes").

Example: plot candidates on map

sponsors

Example 2: top 10 candidates

top10

Running the tests

Run the notebook demo_mayor_sponsorship to visualize sponsorships for each town of metropolitan France

Built With

The following Python libraries are used in these notebooks:

  • pandas - Python Data Analysis Library
  • GeoPandas - GeoPandas is an open source project which extends the datatypes used by pandas to allow spatial operations on geometric types.

Versions

This code was tested with following versions:

  • demo_mayor_sponsorship: Python 3.9.4, geopandas 0.10.2, pandas 1.3.4

Authors

  • Thomas Dubot

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

All data are open source data provided by the French open source data portal: https://www.data.gouv.fr/fr/

About

Visualization of French mayor's sponsorships for the French presidential election of 2022

License:MIT License


Languages

Language:Jupyter Notebook 100.0%