Learn R Programming

osfr (version 0.1.1)

process_pagination: Process Pagination

Description

Processes the paginated data returned by the OSF API and returns a list with all of the pages combined.

Usage

process_pagination(res, config)

Arguments

res

The initial list returned from the OSF API and run through `osfr::process_json()`. Must contain the links section.

config

The configuration used in the initial call to the OSF API.

Value

List of all of the pages from the API (including the input list).