Learn R Programming

sejmRP (version 1.3)

deputies_get_data: 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

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.

Examples

Run this code
## Not run: 
# deputies_get_data('active')
# deputies_get_data('inactive')## End(Not run)

Run the code above in your browser using DataLab