- Tutorials >
- Example Data
Example Data
Some examples in this documentation use example data fixtures from zips.json and primer-dataset.json.
Importing the dataset into MongoDB can be done in several ways. The following
example imports the zips.json
file into a test.zips
collection:
driver directly:
The output would then resemble:
You may also import the datasets using mongoimport, which is included with MongoDB: