get_session_decisions {stortingscrape}R 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)
 

[Package stortingscrape version 0.3.0 Index]