You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function scraps all information about votings from [http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=posglos&NrKadencji=7](http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=posglos&NrKadencji=7). If you want update *votings* table, try:
121
+
This function scraps all information about votings from [http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=posglos&NrKadencji=7](http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=posglos&NrKadencji=7) for *nr_term_of_office = 7* and [http://www.sejm.gov.pl/Sejm8.nsf/agent.xsp?symbol=posglos&NrKadencji=8](http://www.sejm.gov.pl/Sejm8.nsf/agent.xsp?symbol=posglos&NrKadencji=8) for *nr_term_of_office = 8*. If you want update *votings* table, try:
If you are interested in extra information, you can use additional functions:
126
+
Again - remember to choose a proper value of *nr_term_of_office* variable. The last argument says function if you use want additional info be printed. If you are interested in extra information, you can use additional functions:
First of them enables downloading table with information about meetings during diet's term of office. The second one does the same with votings during meeting.
132
+
First of them enables downloading table with information about meetings during eighth diet's term of office. The second one does the same with votings during meeting.
131
133
132
134
Then we need to complete *votes* table. To do that we use:
Like before if you are interested in extra information, you can use additional functions:
165
+
```{r, eval = FALSE}
166
+
statements_get_statements_table(page)
167
+
statements_get_statement(page, ...)
163
168
```
169
+
First of them enables downloading table with information about statements during chosen meeting ([example](http://www.sejm.gov.pl/Sejm7.nsf/posiedzenie.xsp?posiedzenie=99&dzien=2)). The second one gets statement's content ([example](http://www.sejm.gov.pl/Sejm7.nsf/wypowiedz.xsp?posiedzenie=99&dzien=2&wyp=10)).
164
170
165
171
# How to read tables from database
166
172
@@ -204,8 +210,9 @@ There is also a function:
204
210
```{r, eval = FALSE}
205
211
get_filtered_votes(dbname = 'sejmrp', user = 'reader', password = 'qux94874',
206
212
host = 'services.mini.pw.edu.pl', windows = .Platform$OS.type == 'windows',
Description: Set of functions that access information about deputies and votings in Polish diet from webpage http://www.sejm.gov.pl/.
11
-
The package was developed as a result of an internship in MI2 Group - http://mi2.mini.pw.edu.pl/, Faculty of Mathematics and Information Science, Warsaw University of Technology.
10
+
Description: Set of functions that access information about deputies and votings
11
+
in Polish diet from webpage http://www.sejm.gov.pl/. The package was developed
12
+
as a result of an internship in MI2 Group - http://mi2.mini.pw.edu.pl/,
13
+
Faculty of Mathematics and Information Science, Warsaw University of Technology.
0 commit comments