ReadElectionData: Description: Function for reading in Finnish Municipal...

Description Usage Arguments Value Author(s) References Examples

Description

Description: Function for reading in Finnish Municipal Election data available from http://192.49.229.35/K2012/s/ehd_listat/kokomaa.htm#ladattavat Data comes divided into 14 Election districts (vaalipiiri).

Usage

1
  ReadElectionData(which.data, district.id, cache = NA)

Arguments

which.data

Options: "candidates", "parties"

district.id

integer marking the election district ID. Options: [1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

cache

character directory path to location where files are cached

Value

Data frame

Author(s)

Leo Lahti louhos@googlegroups.com

References

See citation("sorvi")

Examples

1
#

rOpenGov/datavaalit documentation built on May 26, 2019, 7:46 p.m.