rc_get: Retrieve a MP votes on a single roll call vote

View source: R/rc_get.R

rc_getR Documentation

Retrieve a MP votes on a single roll call vote

Description

A function for retrieving which MPs voted what on a single vote in the Norwegian parliament.

Usage

rc_get(voteid = NA, include_voteinfo = FALSE, include_mpinfo = FALSE)

Arguments

voteid

Integer. One or more vote ids to retrieve from the API.

include_voteinfo

Logical. Whether or not to include information on the vote.

include_mpinfo

Logical. Whether or not to include information on the MPs.

good_manners

Numeric. Seconds to wait between calls to the API. Should be used if voteid is a vector longer than 1.

...

Other arguments passed to rollcall()

Value

A rollcall object with the specified votes

See Also

stortingscrape::get_vote()

Examples

## Not run: 

v <- rc_get(12345)
summary(v, verbose = TRUE)


## End(Not run)


martigso/noRc documentation built on Oct. 21, 2023, 7:10 a.m.