import_data

0th

Percentile

Imports election data

Takes data argument supplied, checks file type, and uses appropriate read-in functions to import the data

Usage
import_data(data, header)
Arguments
data

The file, containing ballot or lookup data

header

Whether the first row of the file is a header or not

Value

A data frame

Aliases
  • import_data
Examples
# NOT RUN {
import_data("http://www.sfelections.org/results/20161108/data/20161206/20161206_masterlookup.txt",
 header = FALSE)
# }
Documentation reproduced from package rcv, version 0.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.