Skip to contents

A function for retrieving the presidency for a given parliamentary period from the parliament API.

Usage

get_parlperiod_presidency(periodid = NA, good_manners = 0)

Arguments

periodid

Character string indicating the id of the parliamentary period to retrieve.

good_manners

Integer. Seconds delay between calls when making multiple calls to the same function

Value

A data.frame with the following variables:

response_dateDate of data retrieval
versionData version from the API
last_nameLast name of presidency member
first_nameFirst name of presidency member
from_datePresidency member from date
party_idParty affiliation of presidency member
person_idId of the presidency member
to_datePresidency member to date
positionPresidency position

See also

Examples

if (FALSE) { # \dontrun{
 
# Request one MP by id
get_parlperiod_presidency("2005-2009")

} # }