Adding my own code changes

Including updated R code, data from StackOverflow API