I need to get tweets for a research project using R and specifically the package rtweet
. I have my premium Twitter API ready and I can get tweets as data frames but what I cannot do is use the accounts of interests functions.
tweets <- search_fullarchive("x", fromDate = 202101010000, toDate =
202102010000, n = 20, env_name = "env_name", from:y, has:mentions)
But I get the following error,
Error in search_fullarchive("merkel", fromDate = 202101010000, toDate = 202102010000, :
object 'from' not found
Does anyone know a way around this?