deputies_get_ids {sejmRP} | R Documentation |
Getting deputies' ids
Description
Function deputies_get_ids
gets deputies' ids from deputies table.
Usage
deputies_get_ids(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' |
Details
Function deputies_get_ids
gets deputies' ids from deputies table.
As result of this function you get named character vector with ids, where their
names are names and surnames of deputies. Because of encoding issue on Windows
operation system, you need to select if you use Windows.
Value
named character vector
Note
All information is stored in PostgreSQL database.
Author(s)
Piotr Smuda
Examples
## Not run:
deputies_get_ids(dbname, user, password, host, TRUE)
deputies_get_ids(dbname, user, password, host, FALSE)
## End(Not run)
[Package sejmRP version 1.3.4 Index]