diff --git a/R/paginate.R b/R/paginate.R index a0f6482c..004b8cde 100644 --- a/R/paginate.R +++ b/R/paginate.R @@ -6,7 +6,7 @@ #' [paginate_next_request()] to iterate through the pages yourself. #' There are also helpers for common pagination patterns: #' * `req_paginate_next_url()` when the response contains a link to the next -#' page. The `parse_resp()` function +#' page. #' * `req_paginate_offset()` when the request describes the offset i.e. #' at which element to start and the page size. #' * `req_paginate_next_token()` when the response contains a token @@ -28,7 +28,7 @@ #' * `next_url` for `paginate_next_url()`. #' * `next_token` for `paginate_next_token()`. #' -#' @param required_fields An optional character vector that describes which +#' @param required_fields An optional character vector that specifies which #' fields are required in the list returned by `parse_resp()`. #' @param n_pages An optional function that extracts the total number of pages, improving the #' automatically generated progress bar. It has two arguments: diff --git a/man/req_paginate.Rd b/man/req_paginate.Rd index 44f0866e..28534823 100644 --- a/man/req_paginate.Rd +++ b/man/req_paginate.Rd @@ -45,7 +45,7 @@ Other fields that might be needed are: * `next_token` for `paginate_next_token()`. }\if{html}{\out{}}} -\item{required_fields}{An optional character vector that describes which +\item{required_fields}{An optional character vector that specifies which fields are required in the list returned by \code{parse_resp()}.} \item{n_pages}{An optional function that extracts the total number of pages, improving the @@ -90,7 +90,7 @@ If you need more control use a combination of \code{\link[=req_perform]{req_perf There are also helpers for common pagination patterns: \itemize{ \item \code{req_paginate_next_url()} when the response contains a link to the next -page. The \code{parse_resp()} function +page. \item \code{req_paginate_offset()} when the request describes the offset i.e. at which element to start and the page size. \item \code{req_paginate_next_token()} when the response contains a token