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

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/votes_get_clubs_links.R

Description

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

Usage

1
2
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

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

Value

data frame with two columns: club, links

Note

All information is stored in PostgreSQL database.

Author(s)

Piotr Smuda

Examples

1
2
3
4
5
6
## 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)

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