{
  "format": "dataset-manifest/1",
  "slug": "cold-storage-product-tracking-application",
  "version": 2,
  "seed": "cold-storage-product-tracking-application:1",
  "spec": {
    "format": "dataset/1",
    "slug": "cold-storage-product-tracking-application",
    "name": "Cold Chain Monitoring Dataset",
    "tagline": "Monitoring temperature and inventory data for perishable goods in e-commerce cold chain logistics.",
    "description": "Cold storage operations facilitate the safe transport of perishable goods in e-commerce, ensuring that items remain at optimal temperatures from supplier to consumer. This dataset captures the intricate processes involved in cold chain management, including temperature monitoring, inventory control, and the handling of goods that exceed quality thresholds. Each record details key activities such as supplier deliveries, inventory levels, sensor readings, and disposal events, which are critical for maintaining product integrity.\n\nThe 'cold_chain_monitoring' table serves as the core of this dataset, where each row represents a significant event within the cold chain process. This can be a temperature reading from a sensor, an inventory update, or a logged disposal event. The relationships among these records paint a complete picture of the operational workflow, enabling an analysis of how temperature fluctuations and logistics affect product quality.\n\nDevelopers working with this dataset can explore various questions related to supply chain efficiency, such as: How often do temperature breaches occur, and what impact do they have on inventory levels? What patterns can be established from the disposal events related to specific suppliers or products? Understanding these dynamics can foster improvements in operational protocols and enhance the overall reliability of cold chain logistics.\n\nThis synthetic data, while not derived from real-world entities, is structured to emulate the complexities of genuine cold chain operations, making it an ideal resource for practice and experimentation in data analysis.",
    "domain": "ecommerce",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "cold chain",
      "monitoring",
      "ecommerce",
      "temperature",
      "inventory",
      "supply chain",
      "logistics",
      "quality control"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "cold_chain_monitoring": {
        "description": "This table captures time-stamped records related to cold storage operations. Each row reflects a unique event or measurement, linking to various aspects of the cold chain, such as inventory levels, temperature readings, and disposal actions.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each record."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the record was created."
          },
          "product_name": {
            "kind": "productName",
            "description": "The name of the perishable product being monitored."
          },
          "temperature_reading": {
            "kind": "decimal",
            "min": -20,
            "max": 10,
            "scale": 1,
            "description": "The recorded temperature in Celsius at the time of the event.",
            "distribution": "normal"
          },
          "inventory_level": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "The number of units of the product available in cold storage.",
            "distribution": "long-tail"
          },
          "event_type": {
            "kind": "enum",
            "values": [
              "delivery",
              "inspection",
              "disposal",
              "temperature_check"
            ],
            "description": "The type of event being recorded."
          },
          "quality_check_passed": {
            "kind": "bool",
            "description": "Indicates whether the product passed the quality check during inspection."
          },
          "disposal_reason": {
            "kind": "sentence",
            "nullable": true,
            "description": "The reason for disposal if applicable; null if the event type is not 'disposal'."
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What is the average temperature maintained during storage over time?",
      "How often do products fail quality inspections, and what are the common reasons?",
      "What trends are observed in inventory levels during peak seasons?",
      "How does disposal correlate with temperature readings?",
      "Which products are most frequently disposed of, and why?"
    ],
    "suggestedQueries": [
      {
        "title": "Select all records for a specific product",
        "sql": "SELECT * FROM cold_chain_monitoring WHERE product_name = 'Product A';",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of inspections that passed",
        "sql": "SELECT COUNT(*) FROM cold_chain_monitoring WHERE event_type = 'inspection' AND quality_check_passed = TRUE;",
        "dialect": "postgres"
      },
      {
        "title": "Average temperature by month",
        "sql": "SELECT DATE_TRUNC('month', timestamp) AS month, AVG(temperature_reading) FROM cold_chain_monitoring GROUP BY month;",
        "dialect": "postgres"
      },
      {
        "title": "Disposal events and their reasons",
        "sql": "SELECT timestamp, disposal_reason FROM cold_chain_monitoring WHERE event_type = 'disposal';",
        "dialect": "postgres"
      },
      {
        "title": "Inventory levels over time",
        "sql": "SELECT timestamp, inventory_level FROM cold_chain_monitoring ORDER BY timestamp;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Supply Chain Analyst",
        "body": "A supply chain analyst uses this dataset to track temperature fluctuations in cold storage facilities. By analyzing the average temperature over time, they can identify periods of risk and make recommendations to improve product safety."
      },
      {
        "title": "Quality Assurance Manager",
        "body": "A quality assurance manager seeks to understand the effectiveness of quality checks. By querying the number of inspections that pass or fail, as well as the reasons for product disposal, they can enhance inspection protocols and training."
      },
      {
        "title": "Business Intelligence Developer",
        "body": "A BI developer integrates this dataset into a dashboard to visualize inventory levels and temperature readings in real-time. This helps stakeholders make informed decisions about inventory management and operational efficiency."
      },
      {
        "title": "Operational Efficiency Consultant",
        "body": "An operational efficiency consultant analyzes historical disposal events to determine common patterns and root causes. By identifying trends, they can advise on improvements to prevent future losses and optimize cold chain processes."
      }
    ]
  },
  "counts": {
    "cold_chain_monitoring": 500
  },
  "stats": {
    "cold_chain_monitoring": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-01 05:20:00",
          "max": "2023-12-23 18:52:52"
        },
        "product_name": {
          "nulls": 0,
          "distinct": 303,
          "min": "Classic Backpack",
          "max": "Wireless Umbrella"
        },
        "temperature_reading": {
          "nulls": 0,
          "distinct": 164,
          "min": -16.6,
          "max": 8
        },
        "inventory_level": {
          "nulls": 0,
          "distinct": 358,
          "min": 0,
          "max": 996
        },
        "event_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "delivery",
          "max": "temperature_check"
        },
        "quality_check_passed": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "disposal_reason": {
          "nulls": 49,
          "distinct": 450
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/cold_chain_monitoring.csv",
      "format": "csv",
      "table": "cold_chain_monitoring",
      "key": "datasets/cold-storage-product-tracking-application/v2/csv/cold_chain_monitoring.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/csv/cold_chain_monitoring.csv",
      "bytes": 58572,
      "sha256": "7ffa2cf9c923891681e4cdde010cf978936404ec5813fbab6178895b14054a27",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "cold-storage-product-tracking-application.json",
      "format": "json",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/cold-storage-product-tracking-application.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/cold-storage-product-tracking-application.json",
      "bytes": 162829,
      "sha256": "63f759f912737a105744e3b0b52c4cca472bf32fcbfd64767c60be9a9fa5b7fd",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/sql/postgres.sql",
      "bytes": 70267,
      "sha256": "2ae1001bf3f331fa6948643ac79199c4761799cfdcb2a1f8bbc45cbb5787acff",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/sql/mysql.sql",
      "bytes": 68411,
      "sha256": "984d17b51730ac81e5f3d494e84940a09f1372a42695af553bd7229b661c3988",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/sql/mssql.sql",
      "bytes": 70454,
      "sha256": "25eeefdd5b2b4a6b7f860c944b42a8337d34393b39fc7fc1ec460f2bbb265ede",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/sql/sqlite.sql",
      "bytes": 68377,
      "sha256": "a85bed9d3ff6a281366dd7dd82963376c83371dc90fc1352272065b2968426d5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/prisma/seed.ts",
      "bytes": 140181,
      "sha256": "961ecbaeb6880460f9375e62e14c228a35a392b2fd8edb8faa430bb0927f9f6c",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/cold-storage-product-tracking-application/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cold-storage-product-tracking-application/v2/django/fixtures.json",
      "bytes": 192396,
      "sha256": "1662404c01b2f724471b98744339c7356b5f4ff35524a898584af9a30dc1c5d2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768459917,
  "updatedAt": 1788777897576
}
