fetch_briefings: Fetch summary data on briefings and return as a tibble

Description Usage Arguments Details Value

View source: R/fetch.R

Description

fetch_briefings fetches data on all briefings up to a given number derived from the number of pages of results and the pagesize and returns summary data on each briefing.

Usage

1
fetch_briefings(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.

Details

Note that data which has a one to many realtionship with a briefing is not included in the tibble returned by this function. See the the other functions for extracting nested data.

Value

A tibble of sumamry data on briefings.


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