Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Sample Supply Store Dataset

On this page

  • Collections
  • Indexes
  • Sample Document

The sample_supplies database contains data from a mock office supply company. The company tracks customer information and sales data, and has several store locations throughout the world.

To learn how to load the sample data provided by Atlas into your cluster, see Load Sample Data.

This database contains a single collection called sales.

Each document in the sample_supplies.sales collection represents a single sale from a store run by the supply company. Each document contains the items purchased, information on the customer who made the purchase, and several other details regarding the sale.

The sample_supplies.sales collection contains the following indexes:

Name
Index
Description
_id_
{ "_id": 1 }
Primary key index on the _id field.
{
"_id": {
"$oid": "5bd761dcae323e45a93ccfe8"
},
"saleDate": {
"$date": {
"$numberLong": "1427144809506"
}
},
"items": [
{
"name": "notepad",
"tags": [
"office",
"writing",
"school"
],
"price": {
"$numberDecimal": "35.29"
},
"quantity": {
"$numberInt": "2"
}
},
{
"name": "pens",
"tags": [
"writing",
"office",
"school",
"stationary"
],
"price": {
"$numberDecimal": "56.12"
},
"quantity": {
"$numberInt": "5"
}
},
{
"name": "envelopes",
"tags": [
"stationary",
"office",
"general"
],
"price": {
"$numberDecimal": "19.95"
},
"quantity": {
"$numberInt": "8"
}
},
{
"name": "binder",
"tags": [
"school",
"general",
"organization"
],
"price": {
"$numberDecimal": "14.16"
},
"quantity": {
"$numberInt": "3"
}
}
],
"storeLocation": "Denver",
"customer": {
"gender": "M",
"age": {
"$numberInt": "42"
},
"email": "cauho@witwuta.sv",
"satisfaction": {
"$numberInt": "4"
}
},
"couponUsed": true,
"purchaseMethod": "Online"
}

Back

Restaurants