{"id":22266813,"url":"https://github.com/bblodfon/fastvoter","last_synced_at":"2026-01-30T08:02:38.701Z","repository":{"id":264364486,"uuid":"890828796","full_name":"bblodfon/fastVoteR","owner":"bblodfon","description":"Efficient Rcpp Voting Methods for Committee Selection in R","archived":false,"fork":false,"pushed_at":"2024-12-03T11:14:38.000Z","size":1447,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T08:48:15.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bblodfon.github.io/fastVoteR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bblodfon.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-19T08:55:19.000Z","updated_at":"2024-12-03T11:13:07.000Z","dependencies_parsed_at":"2025-09-08T15:23:47.159Z","dependency_job_id":"2b2009b2-355d-4508-b581-d4c4190d154c","html_url":"https://github.com/bblodfon/fastVoteR","commit_stats":null,"previous_names":["bblodfon/fastvoter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bblodfon/fastVoteR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2FfastVoteR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2FfastVoteR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2FfastVoteR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2FfastVoteR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblodfon","download_url":"https://codeload.github.com/bblodfon/fastVoteR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2FfastVoteR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28908831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T06:42:00.998Z","status":"ssl_error","status_checked_at":"2026-01-30T06:41:58.659Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-03T10:24:05.032Z","updated_at":"2026-01-30T08:02:38.683Z","avatar_url":"https://github.com/bblodfon.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# fastVoteR\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/bblodfon/fastVoteR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bblodfon/fastVoteR/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/bblodfon/fastVoteR/graph/badge.svg)](https://app.codecov.io/gh/bblodfon/fastVoteR)\n[![CRAN status](https://www.r-pkg.org/badges/version/fastVoteR)](https://CRAN.R-project.org/package=fastVoteR)\n\u003c!-- badges: end --\u003e\n\n## Overview\n\n`fastVoteR` is an R package with Efficient [Rcpp](https://github.com/rcppcore/rcpp) Voting Methods for Committee Selection.\n\nStill **under development**.\n\n## Installation\n\n``` r\n# CRAN version:\ninstall.packages(\"fastVoteR\")\n\n# Development version from GitHub:\n# install.packages(\"pak\")\npak::pak(\"bblodfon/fastVoteR\")\n```\n\n## Usage\n\n```{r example}\nlibrary(fastVoteR)\n\n# 5 candidates\ncandidates = paste0(\"V\", seq_len(5))\ncandidates\n\n# 4 voters\nvoters = list(\n  c(\"V3\", \"V1\", \"V4\"),\n  c(\"V3\", \"V1\"),\n  c(\"V3\", \"V2\"),\n  c(\"V2\", \"V4\")\n)\nvoters\n\nset.seed(42)\n\n# voter weights\nweights = c(1.1, 2.5, 0.8, 0.9)\n\n# Approval voting (all voters equal)\nrank_candidates(voters, candidates)\n\n# Approval voting (voters unequal)\nrank_candidates(voters, candidates, weights)\n\n# Satisfaction Approval voting (voters unequal)\nrank_candidates(voters, candidates, weights, method = \"sav\")\n\n# Sequential Proportional Approval voting (voters equal)\nrank_candidates(voters, candidates, method = \"seq_pav\")\n```\n\n## Related work\n\nSee [vote](https://CRAN.R-project.org/package=vote) and [votesys](https://CRAN.R-project.org/package=votesys) R packages.\nFor strictly ABC-voting rules, see [abcvoting](https://github.com/martinlackner/abcvoting) Python package.\n\n---\n\n## Code of Conduct\n\nPlease note that the `fastVoteR` project is released with a [Contributor Code of Conduct](https://bblodfon.github.io/fastVoteR/CODE_OF_CONDUCT.html).\nBy contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Ffastvoter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblodfon%2Ffastvoter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Ffastvoter/lists"}