Extract hashtags from entities.hashtags

588 Views Asked by At

We had used a service which download tweets from twitter. Now I want to show the most popular hashtag from the list of hashtags, the problem is the entities.hashtags columns in the json file have the following format:

list(text = c("PimpYourCoffee", "swarovski"), indices = list(c(28, 43), c(56, 66)))

Now the hashtags in this line is PimpYourCoffee and swarovski.

I don't know to get this, and how should I iterate the same function over the list to get list of all hashtags.

0

There are 0 best solutions below