cjbarrie/academictwitteR

[FR] Make `start_tweet` and `end_tweet` optional

chainsawriot opened this issue · 0 comments

Describe the solution you'd like

if (missing(start_tweets)) {
stop("Start time must be specified.")
}
if (missing(end_tweets)) {
stop("End time must be specified.")
}

Currently, both are required. But the official API documentation says the corresponding parameters (start_time and end_time) are optional and they will be filled with some sensible default values: start_time = 30 days ago; end_time = now -30 seceond

It makes a lot of sense if I want to search something from so long ago up to now, I can simply search ignore the end_tweet parameter.

Anything else?

No response