| get_vote {stortingscrape} | R Documentation |
Retreive votes for a specific case
Description
A function for retrieving all votes from a case. Vote data are only available from the 2011-2012 session
Usage
get_vote(caseid = NA, good_manners = 0)
Arguments
caseid |
Character string indicating the id of the case 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 |
| case_id | Case id up for vote |
| alternative_vote | Whether vote is an alternative vote |
| n_for | Number of votes for |
| n_absent | Number of MPs absent |
| n_against | Number of votes against |
| treatment_order | Order of treated votes |
| agenda_case_number | Case number on the agenda of the meeting |
| free_vote | Logical indication of whether the vote is related to the case as a whole |
| comment | Vote comment |
| meeting_map_number | Number on the meeting map |
| personal_vote | Logical indication of whether vote was recorded as roll call or not |
| president_id | Id of president holding president chair at the time of voting |
| president_party_id | Party of the sitting president |
| adopted | Logical indication of whether the proposal voted on was adopted |
| vote_id | Id of vote |
| vote_method | Voting method |
| vote_result_type | Result type (enstemmig_vedtatt = unanimously adopted) |
| vote_result_type_text | See vote_result_type |
| vote_topic | Description of the proposal voted upon |
| vote_datetime | Date and time of vote |
See Also
get_decision_votes get_proposal_votes get_vote get_session_cases get_case
Examples
## Not run:
get_vote(63033)
## End(Not run)
[Package stortingscrape version 0.3.0 Index]