cbpR_bills: Request bills based on the query parameters

Description Usage Arguments Value

Description

cbpR_bills returns US Congressional Bills depending on the provided query. The function uses the API of the extensive Congressional Bills Project. Information about the Congressional Bills Project can be found on the official website: http://congressionalbills.org.

Usage

1
2
cbpR_bills(q = NULL, offset = 1, limit = 2000, order = NULL,
  key = Sys.getenv("CBPR_API_KEY"))

Arguments

q

character. The search query. See https://cbapi.dataflood.de/documentation/endpoints/bills.html for detailed description.

offset

integer. Offset of the query.

limit

integer. Limit of the query.

order

character.

key

character. A valid API key which can be requested at https://cbapi.dataflood.de/start.

Value

The output is a cbpR API object. Which includes meta information about the query and the respective data set that is defined in the parameter q.


tollpatsch/cbpR documentation built on May 29, 2019, 9:54 a.m.