petition_signatures: Get petition signatures for given petition id

Description Usage Arguments Value See Also

View source: R/petition_signatures.R

Description

This function returns the signatures for a given petition id. Note that retrieving all signatures may take quite some time since only 500 signatures can be gathered per request. Also signature count apparently does not necessarily match the number of signatures made availible via the API.

Usage

1
2
petition_signatures(petition_id, nr = "all", sorting = "time_desc",
  verbose = TRUE, api_key)

Arguments

petition_id

petition id as returned by petition_id

nr

number of signatures to be returned. Can be numeric or "all" to retrieve all.

sorting

The order by which signatures will be returned. Accepted values are "time_asc" and "time_desc". If omitted, defaults to time_asc.

verbose

logical if console reporting is wanted. Defaults to TRUE

api_key

character vector of a valid API key.

Value

A data.frame containing signatures including details.

See Also

petition_id


supersambo/change.org documentation built on Oct. 23, 2019, 3:02 a.m.