Learn R Programming

hansard (version 0.3.4)

early_day_motions: early_day_motions

Description

Imports data on early day motions

Usage

early_day_motions(edmType = c("all", "allSponsors", "primarySponsor", "signatures", "ID"))

Arguments

edmType
The type of data you want, allows the arguments 'all', 'allSponsors', 'primarySponsor', 'signatures' and 'ID'
all
Returns a data frame of all early day motions
allSponsors
Requests a member's ID, and returns a data frame of early day motions where the given member is a sponsor
primarySponsor
Requests a member's ID, and returns a data frame of early day motions where the given member is the primary sponsor
signatures
Returns a data frame of all early day motion signatures.
ID
Requests an Early Day Motion ID, and returns a data frame with information on that Motion.

Examples

Run this code
## Not run: 
# x <- early_day_motions('all')
# 
# x <- early_day_motions('allSponsors')
# 
# x <- early_day_motions('all')
# 
# x <- early_day_motions('primarySponsor')
# 
# x <- early_day_motions('signatures')
# 
# x <- early_day_motions('ID')
# ## End(Not run)

Run the code above in your browser using DataLab