Currently, there is an limitation that built-in Twitter data source only returns last 10 days data even if you set more than 10 for
Last N Days parameter.
There is a workaround to use rtweet to get more data from Twitter.
rtweet from here.
R Script Data Source
Then create a data frame with R Script like below.
Then write R Script something like this. Below is an example that gets data with search keyword "data science" and upto 5000 tweets.
rt <- rtweet::search_tweets(
"data science", n = 5000, include_rts = FALSE, retryonratelimit=TRUE
This will give you more data from twitter