get_perm_parties: extract party names

Description Usage Arguments Value Examples

View source: R/get_functions.R

Description

This function extract party names 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 party names stored in pv.

Examples

1
2
3
pv = create_pollyvote(perm_countries = "D", perm_parties = c("CSU", "SPD"))
get_perm_parties(pv)
 

pollyvote/pollyvoter documentation built on Dec. 30, 2018, 11:04 a.m.