Shiny app for ABDA Tool (Abstimmungsdatenbank) | Read-only mirror of https://github.com/StatistikStadtZuerich/ABDA — Stadt Zürich. Issues & pull requests at the source.
  • CSS 79.5%
  • R 20.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sara Barbara Hänzi (sszhas) 88b7678fff Merge branch 'bugfix/update-readme' into 'main'
Bugfix/update readme

See merge request OE-7035/ssz-da/shinyapps/abda!5
2024-06-19 13:36:29 +00:00
R Change color in bar chart to colors from zuericolors 2023-01-25 16:57:42 +01:00
renv update renv and packages 2024-03-14 10:30:07 +01:00
rsconnect/shinyapps.io deploy App automatically 2022-11-17 15:21:21 +01:00
www Add Space after Paragraph and Adjustments in reactable 2023-01-25 17:39:27 +01:00
.gitignore delete github files and dockerfile, add gitlab pipeline file 2023-08-29 16:20:12 +02:00
.gitlab-ci.yml use latest container version 2024-03-14 08:35:55 +00:00
.Rprofile upgrade to new R version and newer package versions 2023-01-04 14:25:08 +01:00
ABDA.Rproj Initial commit 2022-07-07 17:34:26 +02:00
app.R add loader from shinycssloaders package 2023-08-21 13:17:42 +02:00
deploy.R bundle only subset of files for deployment 2023-08-29 16:29:47 +02:00
LICENSE Create LICENSE 2022-12-14 09:41:18 +01:00
README.md update url in readme 2024-06-19 15:22:42 +02:00
renv.lock update renv and packages 2024-03-14 10:30:07 +01:00

Abstimmungsdatenbank (ABDA)

Shiny app for ABDA tool (Abstimmungsdatenbank).

The ABDA application on the Website of Statistik Stadt Zürich shows the results of all popular votes since 1933 on communal, cantonal and federal level.

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

Architecture

flowchart LR;
  f1[F1 text search]:::filter --> button[button start]:::button
  f2[F2 select date range]:::filter --> button
  f3[F3 select pol level]:::filter --> button
  button --> output1[(filtered data = \nF1 + F2 + F3)]:::data
  output1 --> results1[[Resultat Vorlagen]]:::result
  results1 --> f4[F4 selectVote]:::filter
  f4 --> output2[(output1 + F4)]:::data
  output2 --> results2[["Resultat Vorlagen \n(voteResult)"]]:::result
  output2 --> downloads{Downloads}:::download
  
  classDef filter fill:#ffff2f,stroke:#ffff2f;
  classDef button fill:#695eff,stroke:#695eff;
  classDef data fill:#edade6,stroke:#acb0b0;
  classDef result fill:#59e6f0,stroke:#acb0b0;
  classDef download fill:#43cc4c,stroke:#43cc4c;