Add example of using R with resultant database