Description Usage Arguments Value See Also Examples
View source: R/pagination_helpers.R
fetch_until
will retrieve paginated results until a condition is met.
This is useful when searching for a particular value or record.
1 | fetch_until(fn, .until, ...)
|
fn |
The API function to be called. |
.until |
A function which returns a boolean value.
|
... |
Arguments passed to |
A list
with the concatenated results of each page of fn
.
Other pagination:
fetch_all()
1 2 3 4 5 | ## Not run:
columns <- fetch_until(tables_list_columns,
.until = function(x) x == "voterbase_id")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.