Skip to contents

[Experimental]

Usage

chemi_amos_fact_sheet_keyset_pagination_bulk(
  limit,
  cursor = "",
  document_text = "",
  dtxsid = "",
  filterModel = structure(list(), names = character(0)),
  filters = structure(list(), names = character(0)),
  full_table = "",
  include_total = FALSE,
  quickFilter = "",
  sortModel = list(),
  all_pages = TRUE,
  max_pages = 100L
)

Arguments

limit

limit

cursor

cursor

document_text

document_text

dtxsid

dtxsid

filterModel

filterModel

filters

filters

full_table

full_table

include_total

include_total

quickFilter

quickFilter

sortModel

sortModel

all_pages

TRUE (the default) requests page after page, starting at cursor, until a page comes back empty or the client says it was the last or max_pages is reached, and returns the pages combined. FALSE requests only the page given in cursor.

max_pages

Maximum number of pages requested when all_pages is TRUE. Reaching it stops paging with a warning.

Value

A list of records when all_pages is TRUE, otherwise the original response envelope.

Examples

if (FALSE) { # \dontrun{
chemi_amos_fact_sheet_keyset_pagination_bulk(limit = 1L, all_pages = FALSE, max_pages = 2L)
} # }