Learn R Programming

sejmRP (version 1.3)

votes_get_results: Getting voting's results for each club

Description

Function votes_get_results gets voting's results for each club.

Usage

votes_get_results(page)

Arguments

page
club's voting's results page

Value

data frame with two columns: deputy, vote

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

Examples

Run this code
## 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)

Run the code above in your browser using DataLab