Function | Arguments | Title | Description | |
---|---|---|---|---|
1 | get_all_committees | () | Parliamentary committees over all sessions | Imports data on all committee names and ids over all sessions in the data.stortinget.no API. |
2 | get_all_parties | () | All parliamentary parties | A function for retrieving all Norwegian parliamentary parties in the data.stortinget.no API. |
3 | get_case | (caseid = NA, good_manners = 0) | Retreive a parliamentary case | A function for retrieving single parliamentary case by id. |
4 | get_counties | (historical = FALSE) | Get list of MPs in a given parliamentary period | A function for retrieving Norwegian MPs for a given parliamentary period from the parliament API. |
5 | get_decision_votes | (voteid = NA, good_manners = 0) | Retreive vote decision for a specified vote | A function for retrieving vote decisions from a specific vote. Vote data are only available from the 2011-2012 session |
6 | get_hearing_input | (hearingid = NA, good_manners = 0) | Retrieve the hearing input for a specified hearing | A function for retrieving the hearing input for a specified hearing. |
7 | get_hearing_program | (hearingid = NA, good_manners = 0) | Retrieve the hearing program for a specified hearing | 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 |
8 | get_meeting_agenda | (meetingid = NA, good_manners = 0) | Retreive agenda for a specified meeting | A function for retrieving the agenda for a specific meeting. |
9 | get_mp | (mpid = NA, good_manners = 0) | Extract information on specific MPs | A function for retrieving information on Norwegian MPs from the parliament API |
10 | get_mp_bio | (mpid = NA, good_manners = 0) | Extract biography of specific MPs | A function for retrieving biography of Norwegian MPs from the parliament API |
11 | get_mp_pic | (mpid = NA, size = "middels", destfile = NA, show_plot = FALSE, good_manners = 0) | Retrieve picture of specific MPs | A function for retrieving Norwegian MP pictures by id. |
12 | get_parlperiod_mps | (periodid = NA, substitute = FALSE, good_manners = 0) | Get list of MPs in a given parliamentary period | A function for retrieving Norwegian MPs for a given parliamentary period from the parliament API |
13 | get_parlperiod_presidency | (periodid = NA, good_manners = 0) | Get list of presidency in a given parliamentary period | A function for retrieving the presidency for a given parliamentary period from the parliament API. |
14 | get_parlperiods | () | Get Parliamentary Periods | A function for retrieving dates of the parliamentary periods after WWII |
15 | get_parlsessions | () | Get Parliamentary Sessions | A function for retrieving dates of the parliamentary sessions after WWII |
16 | get_proceedings | () | All parliamentary proceedings | A function for retrieving all proceedings in Stortinget, both current and historical. |
17 | get_proposal_votes | (voteid = NA, good_manners = 0) | Retreive all votes for a specified vote proposal | A function for retrieving all votes from a specific vote proposal. Vote data are only available from the 2011-2012 session |
18 | get_publication | (publicationid = NA, good_manners = 0) | Retrieve a specific publication | A function for retrieving a specific publication. Because these are formated very differently in the API, the returning object is in a raw html_document format, best manipulated with html packages such as rvest. |
19 | get_question | (questionid = NA, good_manners = 0) | Parliamentary question | A function for retrieving single parliamentary questions by id. For retrieving the whole debate over a question, the get_publication function has to be used |
20 | get_question_hour | (meetingid = NA, good_manners = 0) | Retrieve question hour details for a specified meeting | A function for retrieving detailed overview of the question hour for a specific meeting |
21 | get_result_vote | (voteid = NA, good_manners = 0) | Retrieve vote results on MP level for a specified vote | A function for retrieving vote results from a specific vote on MP level. Vote data are only available from the 2011-2012 session. Needs some preprocessing for use with rollcall packages, such as oc and ideal. |
22 | get_session_cases | (sessionid = NA, good_manners = 0, cores = 1) | Cases in specified session | A function for retrieving all cases treated in a specified parliamentary session. |
23 | get_session_committees | (sessionid = NA, good_manners = 0) | Parliamentary committees in specified session | A function for retrieving Norwegian parliamentary committees for a specified parliamentary session |
24 | get_session_decisions | (sessionid = NA, good_manners = 0) | Retrieve all decisions for a specified session | A function for retrieving all decisions from a specific parliamentary session. |
25 | get_session_delegations | (sessionid = NA, good_manners = 0) | Parliamentary delegations in specified session | A function for retrieving delegations for a specified parliamentary session. |
26 | get_session_hearings | (sessionid = NA, good_manners = 0, cores = 1) | Retrieve hearings in specified session | A function for retrieving all hearings in a specified parliamentary session. |
27 | get_session_meetings | (sessionid = NA, good_manners = 0) | Retrieve all meetings for a specified parliamentary session | A function for retrieving meetings from a specific parliamentary session |
28 | get_session_mp_speech_activity | (sessionid = NA, mp_id = NA, good_manners = 0) | Retrieve all speech activity from one MP for a given session | A function for retrieving all speech activity from an MP during a specific parliamentary session. Only available from the 2011-2012 session and onwards. |
29 | get_session_parties | (sessionid = NA, good_manners = 0) | Parliamentary parties in specified session | A function for retrieving Norwegian parliamentary parties for a specified parliamentary session |
30 | get_session_publications | (sessionid = NA, type = "referat", good_manners = 0) | Retrieve publications of a type in a parliamentary session | A function for retrieving one of several publication types within a parliamentary session. |
31 | get_session_questions | (sessionid = NA, q_type = NA, status = NA, good_manners = 0) | Parliamentary questions in a session | A function for retrieving all questions within a parliamentary session. |
32 | get_topics | (keep_sub_topics = TRUE) | Get list of topics and sub-topics for the Norwegian parliament | A function for retrieving topic keys used to label various data from the Norwegian parliament. |
33 | get_vote | (caseid = NA, good_manners = 0) | Retreive votes for a specific case | A function for retrieving all votes from a case. Vote data are only available from the 2011-2012 session |
34 | get_written_hearing_input | (hearingid = NA, good_manners = 0) | Retrieve written input for a specified hearing | A function for retrieving written input for a specified hearing |