food_election {vote}R 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)

[Package vote version 2.4-3 Index]