votes_update_table {sejmRP}R Documentation

Updating table with votes

Description

Function votes_update_table updates a table with votes.

Usage

votes_update_table(dbname, user, password, host,
  nr_term_of_office = 8, windows = .Platform$OS.type == 'windows',
  verbose = FALSE)

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'

verbose

if TRUE then additional info will be printed

Value

invisible NULL

Note

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_update_table(dbname, user, password, host, 7, TRUE)
votes_update_table(dbname, user, password, host, 7, FALSE)
## End(Not run)


[Package sejmRP version 1.3.4 Index]