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
Value
data frame with two columns: id_deputy, surname_name
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.