Niederb / bundesrat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bundesrat

Data sources

https://en.wikipedia.org/wiki/List_of_members_of_the_Swiss_Federal_Council https://de.wikipedia.org/wiki/Liste_der_Mitglieder_des_Schweizerischen_Bundesrates https://www.admin.ch/gov/de/start/bundesrat/geschichte-des-bundesrats/bundesraete-und-ihre-wahl/alle-bundesraete-liste.html https://es.wikipedia.org/wiki/Anexo:Consejeros_Federales_de_Suiza

Preprocessing

I originally took the data from admin.ch. To this I added manually a column for the gender.

Data analysis

For this I wanted to play around with a data frame crate. After searching around I decided to give Polars a try. Polars is using Apache Arrow in the background.

Loading the data

My data file is a csv and luckily Polars provides a easy method to load a csv file.

After loading the data we can do some simple analysis and for example count how many federal

Plotting

Ideas

  • In which year were the most members active?
  • Most elections in one year
  • Who had which department? Is there data for that?

About


Languages

Language:Python 42.7%Language:Typst 40.2%Language:Rust 15.6%Language:TeX 1.6%