Description Usage Arguments Details Value Note Author(s) Examples
View source: R/deputies_add_new.R
Function deputies_add_new
adds new deputies to a table with deputies.
1 2 | deputies_add_new(dbname, user, password, host, type, id,
nr_term_of_office = 8)
|
dbname |
name of database |
user |
name of user |
password |
password of database |
host |
name of host |
type |
type of deputies which be add to table with deputies: active, inactive |
id |
id of deputies from which we start add new deputies |
nr_term_of_office |
number of term of office of Polish Diet; default: 8 |
Function deputies_add_new
adds new deputies to a table with deputies.
Also there is a choice between types of deputies, because on the page
of Polish diet deputies are splitted into active and inactive.
In addition id of the last added deputy in deputies table is needed.
invisible NULL
All information is stored in PostgreSQL database.
Piotr Smuda
1 2 3 4 | ## Not run:
deputies_add_new(dbname, user, password, host, 'active', id)
deputies_add_new(dbname, user, password, host, 'inactive', id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.