read_ballots {elections.dtree}R Documentation

Read ranked_ballots from a file.

Description

Reads a set of partial IRV ballots from a file. The file is expected to follow the ballot:count standard, with a header describing all participating candidates.

Usage

read_ballots(file)

Arguments

file

The name of the file to read from, or a character vector of file lines.


[Package elections.dtree version 1.1.2 Index]