Retrieve all records from a LimnoTrack table with automatic pagination
lt_fetch_all.RdA wrapper around lt_fetch() that repeatedly queries the database,
incrementing the offset until all matching records have been retrieved.
Use this in place of lt_fetch() when the result set may exceed the
per-request row limit.
Value
A tibble::tibble, or an sf::sf object if the table contains
geometry data. Row order reflects the server's default ordering unless
order is specified.
Errors
ltapi_api_unavailableThe API could not be reached, or returned a 502/503/504.
ltapi_api_errorThe API returned an unexpected HTTP error.
See also
lt_fetch() for single-request queries with explicit limit and
offset control.
Examples
if (FALSE) { # \dontrun{
lt_fetch_all(
table = "observations",
filter = lt_filter(lernzmp_id == "LID40188")
)
} # }