Shiny app for KALI Tool (Kandidierendenlisten) | Read-only mirror of https://github.com/StatistikStadtZuerich/KALI — Stadt Zürich. Issues & pull requests at the source.
  • CSS 77.7%
  • R 20.3%
  • JavaScript 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aline Laura Metzler (sszmea) 4b0ea29876 Merge branch 'feature-update-function' into 'main'
Feature update function

See merge request OE-7035/ssz-da/shinyapps/kali!7
2024-07-10 11:59:24 +00:00
R add generic update_chart function, load data in app, source all files at once 2024-07-09 10:57:58 +02:00
renv update renv and packages 2024-03-14 11:00:45 +01:00
www update zuericssstyle 2024-06-05 09:30:29 +02:00
.gitignore Initial commit 2022-08-31 08:09:58 +02:00
.gitlab-ci.yml use latest container version 2024-03-14 08:40:11 +00:00
.Rprofile set up renv 2023-01-05 14:24:49 +01:00
app.R no separate sourcing needed anymore 2024-07-09 11:00:13 +02:00
deploy.R Update deploy.R to include data 2023-09-28 09:48:21 +00:00
KALI.Rproj Initial commit 2022-08-31 08:09:58 +02:00
LICENSE add license 2023-01-24 13:29:51 +01:00
README.md update url in readme 2024-06-19 15:48:29 +02:00
renv.lock update zuericssstyle 2024-06-05 09:27:30 +02:00

Kandidierndenlisten Gemeinderatswahlen (KALI)

Shiny app for KALI Tool

The KALI application on the Website of Statistik Stadt Zürich shows the results of all elections for the municipal council of Zurich since 2010.

The data is obtained from the Open Data portal of the city of Zurich and is available here.

Architektur

flowchart LR;
  f1[F1 select name]:::filter --> button[button start]:::button
  f2[F2 select gender]:::filter --> button
  f3[F3 select year of elections]:::filter --> button
  f4[F4 select electoral district]:::filter --> button
  f5[F5 select party list]:::filter --> button
  f6[F6 select electoral status]:::filter --> button
  button --> output1[(filtered data = \nF1 + F2 + F3 + F4 + F5 + F6)]:::data
  output1 --> results1[[Resultat candidates]]:::result
  results1 --> f7[F7 select candidate]:::filter
  f7 --> output2[(output1 + F7)]:::data
  output2 --> results2[["Result candidate \n(show and display \ndetails on votes \nreceived)"]]:::result
  output2 --> downloads{Downloads}:::download
  
  classDef filter fill:#ffff2f,stroke:#ffff2f,color:#000000;
  classDef button fill:#695eff,stroke:#695eff,color:#000000;
  classDef data fill:#edade6,stroke:#acb0b0,color:#000000;
  classDef result fill:#59e6f0,stroke:#acb0b0,color:#000000;
  classDef download fill:#43cc4c,stroke:#43cc4c,color:#000000;