Skip to contents

A function for retrieving delegations for a specified parliamentary session.

Usage

get_session_delegations(sessionid = NA, good_manners = 0)

Arguments

sessionid

Character string indicating the id of the parliamentary session 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
idDelegation id
nameName of delegation
session_idSession id

Examples


if (FALSE) {

deleg <- get_session_delegations("2015-2016")
deleg

}