fetch_briefings_json: Fetch data on all briefings up to a given number as JSON

Description Usage Arguments Value

View source: R/fetch.R

Description

fetch_briefings_json fetches data on all briefings up to a given number derived from the number of pages of results and the pagesize.

Usage

1
fetch_briefings_json(pages = 1, pagesize = 500, pause = 1)

Arguments

pages

The number of pages to pull from the API. The default is 1.

pagesize

The number of briefings per page. The default is 500 and the maximum allowed value is 500.

pause

The number of seconds to pause between page requests.

Value

A list of briefings as JSON.


houseofcommonslibrary/clbrief documentation built on Sept. 13, 2020, 12:13 a.m.