R/addInfo.R
addInfo.RdAdd information on cabinets, elections and parties to dataset. This data is obtained from ParlGov (http://www.parlgov.org/).
addInfo(x, ...) # S3 method for voteList addInfo(x, ...) # S3 method for questionList addInfo(x, ...)
| x | A voteList object |
|---|---|
| ... | Other parameters passed on. |
A voteList object
This is a wrapper that runs both addCabinetInfo and addPartyInfo with default settings.
voteList: Add information to voteList object
questionList: Add information to questionList object
examplevotes_with_info <- addInfo(examplevotes)