get_session_decisions: Retrieve all decisions for a specified session

View source: R/get_session_decisions.R

get_session_decisionsR Documentation

Retrieve all decisions for a specified session

Description

A function for retrieving all decisions from a specific parliamentary session.

Usage

get_session_decisions(sessionid = NA, good_manners = 0)

Arguments

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

Value

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

See Also

get_decision_votes

Examples


## Not run: 

desci <- get_session_decisions("2004-2005")
head(desci)

## End(Not run)
 

stortingscrape documentation built on March 31, 2023, 10:30 p.m.