votes_create_table {sejmRP} | R Documentation |
Creating table with votes
Description
Function votes_create_table
creates a table with votes.
Usage
votes_create_table(dbname, user, password, host,
nr_term_of_office = 8, windows = .Platform$OS.type == 'windows')
Arguments
dbname |
name of database |
user |
name of user |
password |
password of database |
host |
name of host |
nr_term_of_office |
number of term of office of Polish Diet; default: 8 |
windows |
information of used operation system; default: .Platform$OS.type == 'windows' |
Value
invisible NULL
Note
Use only this function for first time, when the votes table
is empty. Then use votes_update_table
.
There is a possibility that someone's voice reader broke during voting and this situation is treated like this deputy was absent. Even if deputy made a decision, he's/she's vote is 'Nieobecny'.
All information is stored in PostgreSQL database.
Author(s)
Piotr Smuda
Examples
## Not run:
votes_create_table(dbname, user, password, host, 7, TRUE)
votes_create_table(dbname, user, password, host, 7, FALSE)
## End(Not run)
[Package sejmRP version 1.3.4 Index]