View source: R/get_session_decisions.R
get_session_decisions | R Documentation |
A function for retrieving all decisions from a specific parliamentary session.
get_session_decisions(sessionid = NA, good_manners = 0)
sessionid |
Character string indicating the id of the session to request all votes from |
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 |
decision_id | Decision id |
case_id | Case id |
case_link_url | URL for case to front end web page |
decision_date | Decision date |
decision_link_url | URL for decision to front end web page |
decision_number | Decision number within session |
decision_text | Decision text |
decision_title | Decision title |
decision_type_id | Decision type id |
decision_type_name | Decision type name |
get_decision_votes
## Not run:
desci <- get_session_decisions("2004-2005")
head(desci)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.