read_blt: read_blt Function

Description Usage Arguments Examples

View source: R/read_blt.R

Description

Function to parse and process OpenSTV / OpaVote .blt files into a format with 1 ballot per line and the candidates encoded as factors.

Usage

1
read_blt(filepath, weight = F)

Arguments

filepath

Filepath of blt file, including filename.blt

weight

Optional parameter to return ballot weight. Default = F

Examples

1
read_blt("C:/Users/User1/Documents/leader.blt")

jackgovier/BLT documentation built on June 23, 2020, 10:15 p.m.