require(Val2014)
require(shiny)
val_data<-val2014()
val_data<-val2014()
val_data[[1]][1:5,1:8]

Every forth year there is election in Sweden.

Above all, there is general elction to the national law-making assembly, but also election to the county councils (landsting) and municipals (kommuner).

Valmyndigheten (Election Authority) complies and delivers statistics reagarding the latest election.

The package Val2014 includes a function Val2014 which downloads data from the election authority and returns a list of 3 data.frames, one for each of the elections.

Val2014 comes with a Shiny application which allows you to see the polls between the different partys in the muncipal of your choice. You can also select which election you would like to see the result from. To get to the shiny application use the following command

runGitHub("732A94_Lab5_shiny","GeorgiaEm")


GeorgiaEm/732A94_Lab5 documentation built on May 30, 2019, 6:54 p.m.