Introducing MongoDB

MongoDB is what is referred to as a NoSQL database, which refers to a data model that is not tabular, as opposed to relational databases which are tabular. The structure of data in MongoDB is analogous to JSON, with each of the documents consisting of key-value pairs.

Once you have MongoDB set up on your computer and you have the MongoDB server running, you can import your data into a database using the mongoimport terminal command. The mongoimport command will take data from a static file, parse the data, and place the data into a database. The documentation for mongoimport is available at the following link: https://docs.mongodb.com/manual/reference/program/mongoimport/.

There are a few parameters that need to be specified ...

Get Practical Data Wrangling 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.