View source: R/pagination_helpers.R
fetch_all | R Documentation |
Retrieve all results from a paginated endpoint
fetch_all(fn, ...)
fn |
The API function to be called. |
... |
Arguments passed to |
A list
with the concatenated results of each page of fn
.
Other pagination:
fetch_until()
## Not run:
columns <- fetch_all(tables_list_columns, id = 123)
column_names <- columns %>% purrr::map_chr("name")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.