Description Usage Arguments Value Author(s) Examples
Get signatures for a petitions
1 | getSignatures(id, page_size, page)
|
id |
the petition id |
page_size |
number of signatures to get |
page |
starting signature, in units of page size |
data frame of signatures, with some extra info in the "meta" attribute
Barry Rowlingson
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.