Skip to contents

A function for retrieving the hearing program for a specified hearing. The earlier periods (around 2005 and back) are less rich with data on some variables

Usage

get_hearing_program(hearingid = NA, good_manners = 0)

Arguments

hearingid

Character string indicating the id of the hearing 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_dateDate of data retrieval
versionData version from the API
hearing_idId of the hearing
hearing_typeType of hearing
committee_idId of committee responsible for the hearing
hearing_program_dateDate hearing program
hearing_program_footnoteFootnote for hearing program
order_numberOrder number for the hearing program element
textDescription of the hearing participant
time_indicationTime stamp for participant hearing input
dateDate of participant input in hearing

Examples

if (FALSE) {
s0910 <- get_session_hearings("2009-2010")
hearing <- get_hearing_program(s0910$hearing$hearing_id[1])
head(hearing)
}