Learn R Programming

hansard (version 0.3.4)

mp_edms: mp_edms

Description

Imports data on early day motions

Usage

mp_edms(mp.id, edmType = c("signed", "sponsor"))

Arguments

mp.id
Required parameter. The ID number of an MP.
edmType
The type of data you want, allows the arguments 'signed' and 'sponsor'. Defaults to 'signed'.
signed
Returns a data frame of all early day motions signed by the given MP.
sponsor
Returns a data frame of early day motions where the given member is the primary sponsor or a sponsor.

Examples

Run this code
## Not run: 
# x <- mp_edms('signed')
# 
# x <- mp_edms('sponsor')
# 
# ## End(Not run)

Run the code above in your browser using DataLab