get_perm_region_types: extract region types

Description Usage Arguments Value Examples

Description

This function extract region types 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 region types stored in pv.

Examples

1
2
pv = create_pollyvote(perm_region_types = "national")
get_perm_region_types(pv)

pollyvote/pollyvoter documentation built on May 25, 2019, 11:23 a.m.