'Twitter streaming error, 'invalid length argument'?
The code is as follows;
Supplier_List <- data.frame(companies = c("company1","company2","company3"))
Streamed_Tweets <- purrr::map_df(Supplier_List$companies, ~{
search_tweets2(.x, retryonratelimit = TRUE,include_rts=FALSE,lang="en")
#Sys.sleep(5)
}, .id = 'id')
The error that comes up is
Error in vector("list", ntimes) : invalid 'length' argument
Could anyone please help?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|