| --max_id <max_id> Return results with an ID less than (older than) or equal to max_id | --max_id <max_id> Return results with an ID less than (older than) or equal to max_id | ||||
| --since_id <since_id> Return results with an ID greather than (newer than) or equal to since_id, | --since_id <since_id> Return results with an ID greather than (newer than) or equal to since_id, | ||||
| automatically extracted from the existing tweets <file>, if it exists, and | automatically extracted from the existing tweets <file>, if it exists, and | ||||
| ignored when <max_id> is set. [default: last] | |||||
| ignored when <max_id> is set. "none" for all available tweets. [default: last] | |||||
| --no-parse Disable parsing of the results | --no-parse Disable parsing of the results | ||||
| --token <token> See {rtweet} for more information | --token <token> See {rtweet} for more information | ||||
| --retryonratelimit Wait and retry when rate limited (only relevant when n exceeds 18000 tweets) | --retryonratelimit Wait and retry when rate limited (only relevant when n exceeds 18000 tweets) | ||||
| since_id <- if (is.null(max_id)) { | since_id <- if (is.null(max_id)) { | ||||
| if (since_id == "last") { | if (since_id == "last") { | ||||
| last_seen_tweet(file = args$file) | last_seen_tweet(file = args$file) | ||||
| } else if (since_id == "none") { | |||||
| NULL | |||||
| } else since_id | } else since_id | ||||
| } | } | ||||
| if (!is.null(since_id)) log_info("Tweets from {since_id}") | if (!is.null(since_id)) log_info("Tweets from {since_id}") |