Walks the paginated index and stacks the pages. Stops at max_pages, which
is a guard against an unbounded walk rather than a tuned number.
Arguments
- max_pages
Maximum pages to fetch.
- page_size
Panels per page.
- ...
Passed to
biohttp::get_json(), for examplethrottle.
Value
A biohttp envelope whose data is the tibble from
panelapp_parse_index(), stacked across pages. A page that fails after the
first is where the walk stops, keeping what was already collected; a
failure on the first page is returned as-is.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(panelapp_all_panels(max_pages = 2))
} # }