ePetitions

Description

Imports data on petitions

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
x <- epetition('all')

x <- epetition('byConstituency')

x <- epetition('petitionID')

# x <- epetition('response')

# x <- epetition('idConstituency')


## End(Not run)