R/trump_tweets.R

#' Trump Tweets from2009 to 2017
#' 
#' All tweets from Donald Trump's twitter account from 2009 to 2017 
#'
#' \itemize{
#' \item source. Device or service used to compose tweet.
#' \item id_str. Tweet ID.
#' \item text. Tweet.
#' \item created_at. Data and time tweet was tweeted.
#' \item retweet_count. How many times tweet had been retweeted at time dataset was created.
#' \item in_reply_to_user_id_str. If a reply, the user id of person being replied to.
#' \item favorite_count. Number of times tweet had been favored at time dataset was created.
#' \item is_retweet. A logical telling us if it is a retweet or not.
#' }
#' 
#' @docType data
#'
#' @usage trump_tweets
#'
#' @format An object of class \code{"data.frame"}. 
#'
#' @keywords datasets
#'
#' @source  The Trump Twitter Archive: \url{https://www.thetrumparchive.com/}
#' 
#' @examples
#' head(trump_tweets)
#' 
"trump_tweets"

Try the dslabs package in your browser

Any scripts or data that you put into this service are public.

dslabs documentation built on July 26, 2023, 5:34 p.m.