powered by
Retrieve all results from a paginated endpoint
fetch_all(fn, ...)
A list with the concatenated results of each page of fn.
list
fn
The API function to be called.
Arguments passed to fn.
Other pagination: fetch_until()
fetch_until()
if (FALSE) { columns <- fetch_all(tables_list_columns, id = 123) column_names <- columns %>% purrr::map_chr("name") }
Run the code above in your browser using DataLab