Add information on cabinet composition and elections to metadata. This data is obtained from ParlGov (http://www.parlgov.org/).

addCabinetInfo(x, ...)

# S3 method for voteList
addCabinetInfo(x, ...)

# S3 method for questionList
addCabinetInfo(x, ...)

Arguments

x

A voteList or questionList object

...

Other parameters passed on.

Value

A voteList or questionList object

Methods (by class)

  • voteList: Cabinet Information for voteList object

  • questionList: Cabinet Information for questionList object. Information is valid for the date of the response to the question

Examples

addCabinetInfo(examplevotes)
#> Length Class Mode #> metaList 21 tbl_df list #> voteList 6 data.frame list #> categoryList 5 data.frame list #> sponsorList 6 data.frame list #> cabinetInfo 6 data.frame list #> partyElectionInfo 13 data.frame list #> partyInfo 22 data.frame list #> electionInfo 2 data.frame list #> votePerParty 11 data.frame list #> partyCabinetInfo 14 data.frame list #> voteMatrix 12 tbl_df list