Subset voteList object
# S3 method for voteList subset(x, df, subset, select, drop = FALSE, drop.levels = TRUE, ...)
x | A voteList object, most of the time the votes object from the Dutch Parliamentary Behaviour Dataset. |
---|---|
df | The name of the data.frame in the voteList to filter on. Options include metaList, sponsorList, and categoryList. |
subset | The subset command. |
select | Expression, indicating columns to select from data frame |
drop | passed on to [ indexing operator |
drop.levels | If true, superfluous levels in the data.frames will be removed. |
... | Other parameters (ignored) |
The subsetted voteList object.
#> Length Class Mode #> metaList 15 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