File: next_cursor.Rd

package info (click to toggle)
r-cran-rtweet 1.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,224 kB
  • sloc: sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/next_cursor.R
\name{next_cursor}
\alias{next_cursor}
\alias{since_id}
\title{Extract cursor (for cursor based pagination)}
\usage{
next_cursor(x)

since_id(x)
}
\description{
This internal helper extracts the cursor from the object passed to the
\code{cursor} argument of the functions that use \code{\link[=TWIT_paginate_cursor]{TWIT_paginate_cursor()}}.
}
\examples{
if (auth_has_default()) {
page1 <- get_followers("_R_Foundation")
page2 <- get_followers("_R_Foundation", cursor = page1)
}
}
\keyword{internal}