votings_create_table: Creating table with votings

Description Usage Arguments Value Note Author(s) Examples

View source: R/votings_create_table.R

Description

Function votings_create_table creates a table with votings.

Usage

1
2
votings_create_table(dbname, user, password, host,
  nr_term_of_office = 8)

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

Value

invisible NULL

Note

Use only this function for first time, when the votings table is empty. Then use votings_update_table.

All information is stored in PostgreSQL database.

Author(s)

Piotr Smuda

Examples

1
2
3
## Not run: 
votings_create_table(dbname, user, password, host)
## End(Not run)

sejmRP documentation built on May 29, 2017, 6:18 p.m.