votes_get_results: Getting voting's results for each club

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/votes_get_results.R

Description

Function votes_get_results gets voting's results for each club.

Usage

1

Arguments

page

club's voting's results page

Details

Function votes_get_results gets voting's results for each club. Example of page with voting's results of PO club: http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=klubglos& IdGlosowania=37494&KodKlubu=PO

Value

data frame with two columns: deputy, vote

Note

All information is stored in PostgreSQL database.

Author(s)

Piotr Smuda

Examples

1
2
3
4
5
## Not run: 
page <- paste0('http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?',
           'symbol=klubglos&IdGlosowania=37494&KodKlubu=PO')
votes_get_results(page)
## End(Not run)

sejmRP documentation built on May 2, 2019, 5:16 a.m.