I'm very new to R and have been trying for a while to get TwitteR to work. I'm currently working on a research project that specifies implementing specific timeframes in my searches. I want to do sentiment analysis before, during, and after a sexual harassment accusation. My code seems to run fine until I attempt to implement timeframes. However, I am following the timeframes code given on the TwitteR package. I upgraded my API to the paid version hoping maybe that would help but I still run into the same issue that the API cannot return my number, even when I only request 1 and the word is generic such as the, which no matter what timeframe would have to had been used. Any advice? Are there any workarounds this? I'm honestly desperate at this point and any help is much appreciated.
Code below for reference (with keys removed)
api_key <- ""
api_secret <- ""
access_token <- ""
access_token_secret <- ""
setup_twitter_oauth(api_key, api_secret, access_token, access_token_secret)
tweets <- searchTwitteR("a", n=1, lan="en", since="2020-02-01", until="2020-02-02")