Learn R Programming

hansard (version 0.3.4)

epetition: epetition

Description

Imports data on Epetitions

Usage

epetition(petType = c("all", "byConstituency", "petitionID", "response", "idConstituency"))

Arguments

petType
The type of data you want, allows the arguments 'all', 'byConstituency', 'petitionID', 'response', and 'idConstituency'
all
Imports all available epetitions
byConstituency
Imports all available epetition signatures by constituency
petitionID
Requests a petition ID, and then returns information on that petition
response
Requests a petition ID, and then returns the governments response to that petition
idConstituency
Requests a petition ID, and then returns the signatures per constituency for that petition

Examples

Run this code
## Not run: 
# x <- epetition('all')
# 
# x <- epetition('byConstituency')
# 
# x <- epetition('petitionID')
# 
# # x <- epetition('response')
# 
# # x <- epetition('idConstituency')
# 
# ## End(Not run)

Run the code above in your browser using DataLab