{"id":22735690,"url":"https://github.com/machinelearningzh/plausi","last_synced_at":"2025-04-23T18:44:35.188Z","repository":{"id":265433580,"uuid":"876607127","full_name":"machinelearningZH/plausi","owner":"machinelearningZH","description":"Detect Anomalies in Vote-Results - powered by Statistics \u0026 Machine Learning","archived":false,"fork":false,"pushed_at":"2024-12-19T16:35:53.000Z","size":9763,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T02:31:48.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://machinelearningzh.github.io/plausi/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/machinelearningZH.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T08:59:22.000Z","updated_at":"2024-12-20T12:40:34.000Z","dependencies_parsed_at":"2024-12-13T16:40:17.822Z","dependency_job_id":"ee4065ae-6129-4f90-9a97-0b08cca4c206","html_url":"https://github.com/machinelearningZH/plausi","commit_stats":null,"previous_names":["machinelearningzh/plausi"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machinelearningZH%2Fplausi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machinelearningZH%2Fplausi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machinelearningZH%2Fplausi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machinelearningZH%2Fplausi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/machinelearningZH","download_url":"https://codeload.github.com/machinelearningZH/plausi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250494655,"owners_count":21440020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-10T21:14:22.130Z","updated_at":"2025-04-23T18:44:35.167Z","avatar_url":"https://github.com/machinelearningZH.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n# 🗳 Plausi Package\n\n**Predict votes and detect anomalies using R.**\n\n\u003c!-- badges: start --\u003e\n[![tic](https://github.com/machinelearningZH/plausi/workflows/tic/badge.svg)](https://github.com/machinelearningZH/plausi/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\u003c!-- badges: end --\u003e\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/machinelearningZH/plausi/refs/heads/main/plausi_hex.png\" alt=\"\" width=\"200\"/\u003e\n\nThe Plausi package is designed for R-supported election forensics. It provides functions that enable the identification of statistical irregularities and anomalies in vote results.\n\nKey features include:\n\n- Robust outlier detection for small sample sizes and skewed distributions\n- Calculation of differences between all possible combinations of turnout-levels (e.g., for systematic comparison of voter turnout across all voting districts)\n- Prediction of expected results using machine learning algorithms (e.g., yes-vote proportions, voter turnout, etc.)\n\nIt serves as a basis for the ___PlausiApp___, which is used for vote result quality control in different cantons (TG / SG / ZH).\n\nFor the moment, the ___PlausiApp___ is made available upon request via a private Repo (mailto:wahlen@statistik.zh.ch). \n\n## Installation\n\nYou can install the plausi package from [GitHub](https://github.com/) with:\n\n```{r eval=FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"machinelearningZH/plausi\")\n```\n\n\n## Usage\n\nAttach the package and you are good to go.\n\n```{r eval=FALSE}\nlibrary(plausi)\n```\n\nAll you need now is data. The easiest way to access data on popular votes in Switzerland is via the [swissdd package](https://github.com/politanch/swissdd), with which you can easily get a wide range of vote results, for example the results of the national votes from 2024-11-24:\n\n```{r eval=FALSE}\ndevtools::install_github(\"politanch/swissdd\")\n\nvote_data \u003c- swissdd::get_nationalvotes(geolevel = \"municipality\", votedates = \"2024-11-24\")\n```\n\n\n## Licensing\nThe package is licensed under the MIT license.\n\n\n## Project team\nThis is a joint project of the [Vote \u0026 Election-Team](https://www.zh.ch/de/direktion-der-justiz-und-des-innern/statistisches-amt/wahlen-und-abstimmungen.html) and [Team Data](https://www.zh.ch/de/direktion-der-justiz-und-des-innern/statistisches-amt/data.html) of the Statistical Office of the Canton of Zurich. Responsible: Simon Graf, Thomas Lo Russo and Thomas Knecht.\n\n\n## Feedback and contributing\nWe would love to hear from you. Please share your feedback and let us know how you use the code. You can [write an email](mailto:wahlen@statistik.zh.ch) or share your ideas by opening an issue or a pull requests.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachinelearningzh%2Fplausi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachinelearningzh%2Fplausi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachinelearningzh%2Fplausi/lists"}