food_election: Example Dataset

food_electionR Documentation

Example Dataset

Description

Dataset on food election which serves as a simple example for the STV method taken from Wikipedia.

Usage

data("food_election")

Format

A data frame with 20 observations and 5 candidates (Oranges, Pears, Chocolate, Strawberries, Sweets). Each record corresponds to one ballot with ranking for each of the candidates.

Source

https://en.wikipedia.org/wiki/Single_transferable_vote#Example

Examples

data(food_election)
head(food_election)

vote documentation built on May 29, 2024, 8:35 a.m.