get_perm_elections: extract elections

Description Usage Arguments Value Examples

View source: R/get_functions.R

Description

This function extract elections from a pollyvote container.

Usage

1

Arguments

pv

[character(1)]
the name ID of the pollyvote object, defaults to 'pollyvote'.

Value

character vector containing all elections stored in pv.

Examples

1
2
pv = create_pollyvote(perm_countries = "D", perm_elections = "BTW")
get_perm_elections(pv)

pollyvote/pollyvoter documentation built on April 4, 2018, 8:18 p.m.