tweets.df.prototype | R Documentation |
A prototypical tweets data frame as expected, for example, by
creat_tweet_features
.
tweets.df.prototype
A tibble
with columns
("character" or "integer") tweet status ID
("POSIXt", "integer", or "character") tweet creation time
("character") tweet text
("integer") the character width of a tweet's text on display
("character") tweet language
("character", "integer") status ID of tweet the current entity replied to, if applicable (otherwise NA
)
("logical") is a retweet?
("logical") is a quote?
("list") list-column of character vectors of hashtags contained in the tweet
("list") list-column of character vectors of symbols contained in the tweet
("list") list-column of character vectors of expanded (not short) URLs of hyperlinks contained in the tweet
("list") list-column of character vectors of expanded (not short) URLs of media contained in the tweet
("list") list-column of character vectors of expanded (not short) URLs of media attached to the tweet
("list") list-column of character vectors of media types ("photo", "video" or NA
) attached to the tweet
("integer") number of times tweet was marked as favorite
("integer") number of times tweet was retweeted
("integer") number of times tweet was quoted
("integer") number of times users replied to the tweet
These are the naming and typing conventions of the rtweet
package https://rtweet.info/.
For a full description of what these fields/columns record, see https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.