if (FALSE) {
# Parse a MongoDB collection into its component dataframes
mongo.rune("combined_surveys")
# After running, access individual survey dataframes directly:
head(pss) # Access the PSS survey dataframe
head(cesd) # Access the CESD survey dataframe
# Parse a single survey from composite collection
rgpts <- mongo.rune("combined_surveys", prefix = "rgpts")
}
Run the code above in your browser using DataLab