generate_tweets {WeatherSentiment} | R Documentation |
This function generates n random tweets about the weather. Each tweet consists of a randomly selected positive or negative phrase about a randomly selected weather condition.
generate_tweets(n)
n |
The number of tweets to generate |
A data.frame containing two columns: Date: The date of the tweet T1: The text of the tweet
Leila Marvian Mashhad and Andriette Bekker and Mohammad Arashi and Priyanka Nagar.
tweets <- generate_tweets(10)
print(tweets)