Learn R Programming

stortingscrape (version 0.4.1)

get_parlperiod_presidency: Get list of presidency in a given parliamentary period

Description

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

Usage

get_parlperiod_presidency(periodid = NA, good_manners = 0)

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

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

See Also

get_mp get_mp_bio

Examples

Run this code
if (FALSE) {
 
# Request one MP by id
get_parlperiod_presidency("2005-2009")

}

Run the code above in your browser using DataLab