Learn R Programming

sejmRP (version 1.2)

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/Sejm7.nsf/',
  page)

Arguments

home_page
main page of polish diet: http://www.sejm.gov.pl/Sejm7.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
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)

Run the code above in your browser using DataLab