getSignatures: Get Signatures

Description Usage Arguments Value Author(s) Examples

Description

Get signatures for a petitions

Usage

1
  getSignatures(id, page_size, page)

Arguments

id

the petition id

page_size

number of signatures to get

page

starting signature, in units of page size

Value

data frame of signatures, with some extra info in the "meta" attribute

Author(s)

Barry Rowlingson

Examples

1
2
3
4
5
6
7
8
## Not run: 
setAPIkey("insertyourAPIkeyhere")
id = getID("http://www.change.org/en-GB/petitions/michael-gove-keep-climate-change-in-the-curriculum")
pid = id$petition_id
sigs = getSignatures(pid, 10, 1)
head(sigs)

## End(Not run)

barryrowlingson/changer documentation built on May 11, 2019, 6:24 p.m.