library(knitr)
library(twitteR)
library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:twitteR':
## 
##     id, location
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(tidytext)
library(stringr)
library(ggplot2)

Create datframes with latest tweets from the top 10 hashtags

a_2 <- as.list(a_1[1:10,1])
a_2
## [[1]]
## [1] "#ThursdayThoughts"
## 
## [[2]]
## [1] "#MakeMeCringeIn4Words"
## 
## [[3]]
## [1] "#ThursdayMotivation"
## 
## [[4]]
## [1] "#PBPitch"
## 
## [[5]]
## [1] "#AliensAreProbablyThinking"
## 
## [[6]]
## [1] "#thursdaymorning"
## 
## [[7]]
## [1] "#IBlowMyHornWhen"
## 
## [[8]]
## [1] "#travisAlums"
## 
## [[9]]
## [1] "#FeelSomething"
## 
## [[10]]
## [1] "#Rocketman"

Write a function that pulls up latest 10 tweeets from top 10

num_tweets = 10
for(i in a_2){for(j in i){
  tweets <- twListToDF(searchTwitter(paste0("' ", a_2, "'",n = num_tweets)))
print(head(tweets))
  
  }}
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
## Warning in if (nchar(searchString) > 1000) {: the condition has length > 1
## and only the first element will be used
##                                                                                                                                                 text
## 1     RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर की चोरी करि,गए राम गुण भूल\nतिन…
## 2       Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #CatholicTwitter #ROC #OCA #Orthodoxy
## 3       RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times report on family tax evasion.' WO…
## 4 RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature\n4. Expect nothing\n5. Appreciate…
## 5               RT @Kumar09060113: #ThursdayThoughts\n#SamsungGalaxyS10 से जाने केसे #DrugFreeIndia होगा अपना पहचानिए \nपूरब-पश्चिम-उत्तर-दक्षिण, क्यों फिरता…
## 6     RT @TheCleanerSide: #ThursdayThoughts #Resist #Resistance \n\nI am grateful for all the common ground we share, and the new things I learn ev…
##   favorited favoriteCount replyToSN             created truncated
## 1     FALSE             0        NA 2019-02-21 16:55:39     FALSE
## 2     FALSE             0        NA 2019-02-21 16:52:12     FALSE
## 3     FALSE             0        NA 2019-02-21 16:50:49     FALSE
## 4     FALSE             0        NA 2019-02-21 16:48:48     FALSE
## 5     FALSE             0        NA 2019-02-21 16:47:13     FALSE
## 6     FALSE             0        NA 2019-02-21 16:46:25     FALSE
##   replyToSID                  id replyToUID
## 1         NA 1098627320875704320         NA
## 2         NA 1098626453007204362         NA
## 3         NA 1098626106087874561         NA
## 4         NA 1098625596341608449         NA
## 5         NA 1098625200596209664         NA
## 6         NA 1098624997982175233         NA
##                                                                           statusSource
## 1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 2                   <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
## 3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 4   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
## 5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
## 6   <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
##        screenName retweetCount isRetweet retweeted longitude latitude
## 1 MohanTh80694870           21      TRUE     FALSE        NA       NA
## 2    ChurchLifeND            0     FALSE     FALSE        NA       NA
## 3   DomainingDiva           49      TRUE     FALSE        NA       NA
## 4    tulikapandey            5      TRUE     FALSE        NA       NA
## 5    VarshaDasi15            6      TRUE     FALSE        NA       NA
## 6         Blickd7            8      TRUE     FALSE        NA       NA
str(tweets)
## 'data.frame':    25 obs. of  16 variables:
##  $ text         : chr  "RT @ChitraRampal: @SaintRampalJiM @SatlokChannel #ThursdayThoughts\n#ThursdayMotivation\n#DrugFreeIndia\nजिन हर"| __truncated__ "Human #Dignity Was a Rarity Before #Christianity  https://t.co/9Egi53Groc\n#Catholic #ThursdayThoughts #Catholi"| __truncated__ "RT @raggapegs: Look! 'Trump’s federal judge sister Maryanne Trump Barry is heavily implicated in NY Times repor"| __truncated__ "RT @MitaMistry: #Mindfulness reminders:\n\n1. Focus on one task at a time\n2. Slow down\n3. Connect with nature"| __truncated__ ...
##  $ favorited    : logi  FALSE FALSE FALSE FALSE FALSE FALSE ...
##  $ favoriteCount: num  0 0 0 0 0 0 0 0 0 0 ...
##  $ replyToSN    : logi  NA NA NA NA NA NA ...
##  $ created      : POSIXct, format: "2019-02-21 16:55:39" "2019-02-21 16:52:12" ...
##  $ truncated    : logi  FALSE FALSE FALSE FALSE FALSE FALSE ...
##  $ replyToSID   : logi  NA NA NA NA NA NA ...
##  $ id           : chr  "1098627320875704320" "1098626453007204362" "1098626106087874561" "1098625596341608449" ...
##  $ replyToUID   : logi  NA NA NA NA NA NA ...
##  $ statusSource : chr  "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>" "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>" "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>" "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>" ...
##  $ screenName   : chr  "MohanTh80694870" "ChurchLifeND" "DomainingDiva" "tulikapandey" ...
##  $ retweetCount : num  21 0 49 5 6 8 8 49 0 44 ...
##  $ isRetweet    : logi  TRUE FALSE TRUE TRUE TRUE TRUE ...
##  $ retweeted    : logi  FALSE FALSE FALSE FALSE FALSE FALSE ...
##  $ longitude    : logi  NA NA NA NA NA NA ...
##  $ latitude     : logi  NA NA NA NA NA NA ...