generate_tweets {DisasterAlert} | R Documentation |
Generate Random Tweets
Description
This function Generates synthetic tweets with weather conditions and sentiment.
Usage
generate_tweets(n)
Arguments
n |
The number of tweets to generate |
Value
A data.frame containing two columns: Date: The date of the tweet T1: The text of the tweet
Author(s)
Hossein Hassani and Leila Marvian Mashhad and Nadejda Komendantova.
Examples
tweets <- generate_tweets(100)
head(tweets)
[Package DisasterAlert version 1.0.0 Index]