Learn R Programming

stortingscrape (version 0.4.1)

get_session_mp_speech_activity: Retrieve all speech activity from one MP for a given session

Description

A function for retrieving all speech activity from an MP during a specific parliamentary session. Only available from the 2011-2012 session and onwards.

Usage

get_session_mp_speech_activity(sessionid = NA, mp_id = NA, good_manners = 0)

Value

A data.frame with the following variables:

response_dateDate of data retrieval
versionData version from the API
session_idSession id
agenda_case_numberNumber indicating the agenda number for the case
meeting_idMeeting id
speech_start_timeStart time of speech
speech_typeType of speech
speech_length_secsLenght of speech in seconds

Arguments

sessionid

Character string indicating the session to retrieve speeches from.

mp_id

Character string for the MP to retreive all speeches of in a given session.

good_manners

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

See Also

get_mp get_mp_bio get_publication

Examples

Run this code

if (FALSE) {

activ <- get_session_mp_speech_activity("2012-2013", "ALYS")
head(activ)
}


Run the code above in your browser using DataLab