Chapter 12. Data Processing and Aggregation with MongoDB

Aggregation queries are a very common way to get summarized data by counting or adding features onto our dataset. MongoDB provides us with different ways to get aggregated data fast and easy. In this chapter, we will explore the basic features of MongoDB as well as two ways to get summarized data using the Group function and the Aggregation framework.

In this chapter, we will cover the following topics:

  • Getting started with MongoDB
  • Data processing
  • Aggregation framework

In Chapter 2, Preprocessing the Data, we introduced NoSQL (Not Only SQL) databases and their types (document-based, graph-based, and key-value stores). NoSQL databases provide key advantages to the user, such as scalability, high ...

Get Practical Data Analysis - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.