View source: R/get_session_hearings.R
get_session_hearings | R Documentation |
A function for retrieving all hearings in a specified parliamentary session.
get_session_hearings(sessionid = NA, good_manners = 0, cores = 1)
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 |
cores |
Integer... |
A list with four elements:
$root (hearing meta data)
response_date | Date of data retrieval |
version | Data version from the API |
session_id | Session id |
$hearing (main data on the hearing)
deadline_date | Deadline date for hearing |
status | Data version from the API |
hearing_id | Hearing id |
input_deadline | Deadline date for input |
written | Logical indication of whether the input was written |
application_deadline | Deadline date for application to hearing |
start_date | Start date for hearing |
status_pub | Publication status for hearing |
status_info_text | Status information text |
type | Type of hearing |
committee_id | Committee id for committee responsible for hearing |
$hearing_case_info (named list by hearing id with information on the case(s) belonging to the hearing)
hearing_id | Hearing id |
case_reference | Text reference for case |
case_id | Case id |
case_short_title | Short title for case |
case_publication | URL for front end web-page publication |
case_title | Full title for case |
$hearing_date (named list by hearing id with date(s) the hearing was held)
hearing_id | Hearing id |
date | Date of hearing |
place | Where the hearing was held |
get_hearing_input get_hearing_program get_written_hearing_input
## Not run:
hear <- get_session_hearings("2010-2011")
head(hear$hearing)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.