fetch_sections: Fetch data on the sections that produced a briefing and...

Description Usage Arguments Value

View source: R/fetch.R

Description

fetch_sections fetches data on all briefings up to a given number derived from the number of pages of results and the pagesize and returns the sections responsible for producing each briefing.

Usage

1
fetch_sections(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 tibble of data on briefings and their sections in long form.


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