Learn R Programming

tweetcheck

{tweetcheck} is a simple R wrapper for the twitter-text JavaScript library which is made available by Twitter under the Apache 2.0 license. This library allows easy parsing of tweet text as well as autolinking and extraction of mentions.

Installation

# Install from CRAN using:
install.packages("tweetcheck")

# Install from GitHub using:
remotes::install_github("wurli/tweetcheck")

Demo

Parse tweet information

library(tweetcheck)

tweets <- c(
  "This is a first tweet. Simple!",
  "This tweet tags @hadleywickham and @_wurli",
  "This tweet links {rtweet}: https://docs.ropensci.org/rtweet/",
  "Emojis take up two characters 

Copy Link

Version

Install

install.packages('tweetcheck')

Monthly Downloads

116

Version

0.1.0

License

Apache License (>= 2)

Maintainer

Jacob Scott

Last Published

October 6th, 2022

Functions in tweetcheck (0.1.0)

tweet_autolink

Perform tweet autolinking
tweet_get_mentions

Extract mentions from a tweet
tweet_info

Parse a tweet