Learn R Programming

sejmRP (version 1.3)

votes_get_clubs_links: Getting links with voting's results for each club

Description

Function votes_get_clubs_links gets links with voting's results for each club from voting's page.

Usage

votes_get_clubs_links(home_page = 'http://www.sejm.gov.pl/Sejm8.nsf/', page)

Arguments

home_page
main page of polish diet: http://www.sejm.gov.pl/Sejm8.nsf/
page
voting's page

Value

data frame with two columns: club, links

Details

Function votes_get_clubs_links gets links with voting's results for each club from voting's page. Example of a voting's page: http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=glosowania& NrKadencji=7&NrPosiedzenia=1&NrGlosowania=1

Examples

Run this code
## Not run: 
# home_page <- 'http://www.sejm.gov.pl/Sejm7.nsf/'
# page <- paste0('http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?',
#   'symbol=glosowania&NrKadencji=7&NrPosiedzenia=1&NrGlosowania=1')
# votes_get_clubs_links(home_page, page)## End(Not run)

Run the code above in your browser using DataLab