get_parlperiod_presidency: Get list of presidency in a given parliamentary period

View source: R/get_parlperiod_presidency.R

get_parlperiod_presidencyR Documentation

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)

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_date Date of data retrieval
version Data version from the API
last_name Last name of presidency member
first_name First name of presidency member
from_date Presidency member from date
party_id Party affiliation of presidency member
person_id Id of the presidency member
to_date Presidency member to date
position Presidency position

See Also

get_mp get_mp_bio

Examples

## Not run: 
 
# Request one MP by id
get_parlperiod_presidency("2005-2009")


## End(Not run)


stortingscrape documentation built on May 29, 2024, 10:10 a.m.