petition_id: Get petition_id for given url

Description Usage Arguments Value

View source: R/petition_id.R

Description

This function returns the petition id for a given petition url. This id is needed to gather further information about a petition.

Usage

1
petition_id(petition_url, api_key)

Arguments

petition_url

character vector of the URL of a petition.

api_key

character vector of a valid API key.

Value

The id of the petition.


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