Loading…
useR! 2024
Attending this event?
In Person & Virtual
8 - 11 July, 2024
Learn more and Register to Attend

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for useR! 2024 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

Please note: This schedule is automatically displayed in Central European Time (UTC+1)To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date." The schedule is subject to change.
Tuesday, July 9 • 14:30 - 14:50
Real-Time Anomaly Detection on Voting Sundays Using R and Shiny - Simon Graf, Statistisches Amt Kanton Zürich

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Swiss voters head to the polls around four times a year. One of the responsibilities of the cantons is to collect the results from the municipalities, process and transmit them to the federal level. The Canton of Zurich used to check the data manually and gave feedback in case of suspicious looking results, however this non-systematic approach on an individual data point level was error-prone, labour-intense and often lacked the context of historical trends and issue specific dynamics. To remedy these shortcomings, we developed an R- and Shiny-based application called “PlausiApp”, which conducts outlier detection in real-time on a variety of results, such as shares of voting channels used, intracommunal differences in participation levels, or the deviation of the results from our prediction. It is in use since 2020. The application works as follows: Prior to the voting Sunday, we load historical data and store it in the project repository. On the voting Sunday, the application transforms the live data and runs the checks. Finally, the results are presented in a shiny dashboard.

Speakers
avatar for Simon Graf

Simon Graf

Political Data Scientist, Statistisches Amt Kanton Zürich
Political Data Scienctist


Tuesday July 9, 2024 14:30 - 14:50 CEST
Salzburg II
Feedback form isn't open yet.