MongoDB with R
After the short introduction provided earlier, you should now be able to define the basic characteristics of a variety of NoSQL databases. In this part of the book, we will explore the features and practical applications of MongoDB.
Introduction to MongoDB
MongoDB is one of the examples of non-relational data storage systems, and it also supports a number of data processing and analytics frameworks such as complex aggregations and even MapReduce jobs. All these operations are carried out by the means of MongoDB NoSQL queries - an alternative to the standard SQL language for querying relational databases. As you will soon find out, MongoDB NoSQL commands are very expressive and quite simple to learn. The only problem that most users encounter is the quite convoluted syntax (BSON format) for complex aggregations and queries, but we will explore this issue in the following sections.
MongoDB data models
One of the reasons for this difficulty in writing very complex aggregations using...