petition_updates: Get updates on petition

Description Usage Arguments Value See Also

View source: R/petition_updates.R

Description

This function returns the updates for a given petition id.

Usage

1
2
petition_updates(petition_id, nr = "all", sorting = c("time_asc",
  "time_desc"), verbose = TRUE, api_key)

Arguments

petition_id

petition id as returned by petition_id

nr

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

sorting

The order by which updates will be returned. Accepted values are "time_asc", and "time_desc".

verbose

logical if console reporting is wanted. Defaults to TRUE

api_key

character vector of a valid API key.

Value

A data.frame containing updates including details.

See Also

petition_id


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