Description Usage Arguments Details Value Note Author(s) Examples
View source: R/deputies_get_data.R
Function deputies_get_data
gets data about deputies.
1 | deputies_get_data(type, nr_term_of_office = 8)
|
type |
type of deputies which be add to table with deputies: active, inactive |
nr_term_of_office |
number of term of office of Polish Diet; default: 8 |
Function deputies_get_data
gets deputies' ids and personal data like
name and surname. Also there is a choice between types of deputies, because
on the page of Polish diet deputies are splitted into active and inactive.
data frame with two columns: id_deputy, surname_name
All information is stored in PostgreSQL database.
Piotr Smuda
1 2 3 4 | ## Not run:
deputies_get_data('active')
deputies_get_data('inactive')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.