View source: R/get_session_mp_speech_activity.R
get_session_mp_speech_activity | R Documentation |
A function for retrieving all speech activity from an MP during a specific parliamentary session. Only available from the 2011-2012 session and onwards.
get_session_mp_speech_activity(sessionid = NA, mp_id = NA, good_manners = 0)
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 |
A data.frame with the following variables:
response_date | Date of data retrieval |
version | Data version from the API |
session_id | Session id |
agenda_case_number | Number indicating the agenda number for the case |
meeting_id | Meeting id |
speech_start_time | Start time of speech |
speech_type | Type of speech |
speech_length_secs | Lenght of speech in seconds |
get_mp get_mp_bio get_publication
## Not run:
activ <- get_session_mp_speech_activity("2012-2013", "ALYS")
head(activ)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.