epetition: epetition

Description Usage Arguments Examples

Description

Imports data on Epetitions

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)


Search within the hansard package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.