Mastering Social Media Mining with R
Sharan Kumar Ravindran September 2015 Packt publisher
Useful R book that covers current Social Media and data science techniques.
My favorite library in this book is from chapter six, SocialMediaMineR.
The function get_facebook from SocialMediaMineR package takes a URL and returns a data frame of shares, likes etc. The function is easy to use. You do not need OAuth just a link. Works like this:
trying URL ‘http://curl.haxx.se/ca/cacert.pem’
Content type ‘¸’
ýþ’ length 256338 bytes (250 Kb)
downloaded 250 Kb
1 https://www.packtpub.com https://www.packtpub.com/
share_count like_count comment_count total_count click_count
1 432 361 155 948 0
1 10150745127795008 0
This one function could keep you occupied for a long time.
But there are other useful libraries in this book: ROAuth for OAuth, twitterR for Twitter, Rfacebook for facebook, and rgithub for github.
The book covers exploratory data analysis, EDA. in the chapter on github.
Sentiment Analysis in the chapter on Twitter.
The book briefly covers a lot. There are many other books that cover a single topic in more detail. Read this book to discover what you want to explore.