deputies_get_data {sejmRP} | R Documentation |
Getting data about deputies
Description
Function deputies_get_data
gets data about deputies.
Usage
deputies_get_data(type, nr_term_of_office = 8)
Arguments
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 |
Details
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.
Value
data frame with two columns: id_deputy, surname_name
Note
All information is stored in PostgreSQL database.
Author(s)
Piotr Smuda
Examples
## Not run:
deputies_get_data('active')
deputies_get_data('inactive')
## End(Not run)
[Package sejmRP version 1.3.4 Index]