Description Usage Arguments Author(s) See Also Examples
Prepares tweets for text analysis by removing usernames (@user), URLs (http://...), new lines, breaks and special symbols. Expands contractions (e.g. "won't" to "will not", "I've" to "I have", etc.).
| 1 | clean_text(content)
 | 
| content | A vector of strings (for instance get_pw_tweets()$content) | 
Katya Ognyanova rstats@ognyanova.net
get_pw_tweets get_pw_pol
merge_pw
| 1 2 3 4 5 6 7 8 |  ## Not run: 
tweet.df <- get_pw_tweets(1, 5)
tweet.df$clean <- clean_text(tweet.df$content)
## End(Not run)
 
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.