Learn R Programming

stortingscrape (version 0.4.0)

get_hearing_program: Retrieve the hearing program for a specified hearing

Description

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)

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

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

See Also

get_session_hearings get_hearing_input get_written_hearing_input

Examples

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


Run the code above in your browser using DataLab