votes_update_table: Updating table with votes

Description Usage Arguments Value Note Author(s) Examples

View source: R/votes_update_table.R

Description

Function votes_update_table updates a table with votes.

Usage

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

1
2
3
4
## Not run: 
votes_update_table(dbname, user, password, host, 7, TRUE)
votes_update_table(dbname, user, password, host, 7, FALSE)
## End(Not run)

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