{
  "format": "dataset-manifest/1",
  "slug": "voice-controlled-smart-garden",
  "version": 2,
  "seed": "voice-controlled-smart-garden:1",
  "spec": {
    "format": "dataset/1",
    "slug": "voice-controlled-smart-garden",
    "name": "Smart Garden Insights",
    "tagline": "Harness the power of IoT in your garden with voice-controlled insights.",
    "description": "A voice-controlled smart garden thrives, enabling users to cultivate plants with precision and ease. Users interact with the garden system to manage water levels, nutrient applications, and receive important environmental alerts—all through simple voice commands. The operation centers on providing an automated gardening experience, where technology meets nature to enhance the growth and maintenance of various plants.\n\nThe dataset consists of several interrelated tables. The 'gardens' table captures information about each garden, including its size and plant types. Each garden is equipped with various 'sensors' that monitor environmental conditions such as soil moisture, temperature, and light levels. The 'user_interactions' table logs every command or inquiry made by users, providing insight into how they engage with the system. 'watering_schedules' outlines the planned watering times based on sensor data and user preferences, ensuring optimal hydration for plants. Lastly, 'environmental_alerts' records any significant changes in conditions that might affect garden health, such as extreme weather or sensor failures.\n\nThis dataset is valuable for practitioners looking to explore questions about garden performance, user behavior, and the effectiveness of smart gardening technologies. For example, how do specific user interactions influence watering schedules? What environmental conditions trigger alerts, and how often do they occur? By analyzing these relationships, developers can gain insights into optimizing garden care and enhancing user experience. The data is synthetic, providing a safe space for experimentation and practice without real-world implications.",
    "domain": "iot",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "smart garden",
      "IoT",
      "voice control",
      "environmental sensors",
      "watering schedules",
      "user interactions"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "gardens": {
        "description": "This table holds information about individual gardens, including their unique identifiers and user assignments. Each garden can be linked to multiple sensors and watering schedules.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each garden."
          },
          "name": {
            "kind": "words",
            "max": 3,
            "description": "Name of the garden.",
            "nullable": true,
            "pool": [
              "rose",
              "vegetable",
              "herb",
              "tropical",
              "cottage",
              "zen",
              "succulent",
              "butterfly",
              "kitchen",
              "perennial",
              "shade",
              "aromatic",
              "wildflower",
              "edible",
              "rock",
              "water",
              "desert",
              "container",
              "hanging",
              "fruit",
              "botanical"
            ],
            "min": 1
          },
          "user_id": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Identifier for the user who owns the garden."
          }
        }
      },
      "sensors": {
        "description": "This table contains sensor data related to each garden. Each sensor records environmental conditions such as moisture and temperature at various intervals.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each sensor."
          },
          "garden_id": {
            "kind": "fk",
            "ref": "gardens.id",
            "description": "Reference to the garden this sensor belongs to."
          },
          "sensor_type": {
            "kind": "enum",
            "values": [
              "moisture",
              "temperature",
              "nutrient"
            ],
            "description": "Type of sensor.",
            "weights": [
              6,
              2,
              1
            ]
          },
          "value": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "description": "Current reading from the sensor.",
            "nullable": true,
            "when": {
              "column": "sensor_type",
              "in": [
                "moisture",
                "temperature",
                "nutrient"
              ]
            },
            "distribution": "normal"
          },
          "recorded_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the sensor reading was taken."
          }
        }
      },
      "user_interactions": {
        "description": "This table logs the interactions users have with the voice-controlled system, capturing commands and their timestamps.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "garden_id": {
            "kind": "fk",
            "ref": "gardens.id",
            "description": "Reference to the garden associated with the interaction."
          },
          "command": {
            "kind": "words",
            "max": 3,
            "description": "Voice command issued by the user.",
            "nullable": true,
            "pool": [
              "water",
              "trim",
              "plant",
              "harvest",
              "fertilize",
              "check",
              "grow",
              "monitor",
              "schedule",
              "set",
              "turn",
              "activate",
              "deactivate",
              "adjust",
              "remind",
              "collect",
              "analyze",
              "report",
              "notify",
              "clean",
              "inspect"
            ],
            "min": 1
          },
          "executed_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the command was executed.",
            "dayProfile": "waking"
          }
        }
      },
      "watering_schedules": {
        "description": "This table outlines the scheduled watering times for each garden, detailing frequency and last watering.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each watering schedule."
          },
          "garden_id": {
            "kind": "fk",
            "ref": "gardens.id",
            "description": "Reference to the garden for which watering is scheduled."
          },
          "frequency": {
            "kind": "enum",
            "values": [
              "daily",
              "weekly",
              "biweekly"
            ],
            "description": "Frequency of watering.",
            "weights": [
              5,
              3,
              1
            ]
          },
          "last_watered": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the last watering.",
            "nullable": true,
            "when": {
              "column": "frequency",
              "in": [
                "daily",
                "weekly",
                "biweekly"
              ]
            },
            "dayProfile": "business"
          }
        }
      },
      "environmental_alerts": {
        "description": "This table contains alerts triggered by environmental conditions that may affect garden health, such as extreme temperatures or humidity levels.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each alert."
          },
          "garden_id": {
            "kind": "fk",
            "ref": "gardens.id",
            "description": "Reference to the garden associated with the alert."
          },
          "alert_type": {
            "kind": "enum",
            "values": [
              "temperature",
              "humidity",
              "nutrient"
            ],
            "description": "Type of environmental alert.",
            "weights": [
              4,
              3,
              1
            ]
          },
          "alert_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp when the alert was triggered.",
            "nullable": true,
            "when": {
              "column": "alert_type",
              "in": [
                "temperature",
                "humidity",
                "nutrient"
              ]
            },
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "monetary",
      "nullable"
    ],
    "analysisQuestions": [
      "How frequently are gardens watered based on their schedules?",
      "What commands are most commonly issued by users?",
      "How do environmental alerts impact watering schedules?",
      "What is the average sensor reading for different sensor types?",
      "Which gardens have the most user interactions?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Gardens with Sensors",
        "sql": "SELECT gardens.name, sensors.value FROM gardens JOIN sensors ON gardens.id = sensors.garden_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count User Interactions per Garden",
        "sql": "SELECT garden_id, COUNT(*) FROM user_interactions GROUP BY garden_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Sensor Readings by Type",
        "sql": "SELECT sensor_type, AVG(value) FROM sensors GROUP BY sensor_type;",
        "dialect": "postgres"
      },
      {
        "title": "Watering Schedule Analysis",
        "sql": "SELECT gardens.name, COUNT(watering_schedules.id) FROM gardens JOIN watering_schedules ON gardens.id = watering_schedules.garden_id GROUP BY gardens.name;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysts Exploring Gardening Technology",
        "body": "Data analysts can leverage the Smart Garden Insights dataset to explore the impact of IoT technology on gardening practices. By analyzing user interactions and sensor readings, they can derive insights into how voice commands influence watering schedules and plant health."
      },
      {
        "title": "BI Dashboard Developers",
        "body": "Business intelligence dashboard developers will find the dataset useful for creating visual representations of garden health metrics. They can showcase real-time sensor data, user engagement statistics, and environmental alerts, providing valuable insights for garden management."
      },
      {
        "title": "Agricultural Researchers",
        "body": "Agricultural researchers can utilize the dataset to study the effects of automated watering and nutrient applications on plant growth. By examining the correlation between watering schedules and environmental alerts, they can enhance smart gardening strategies."
      },
      {
        "title": "Educators Teaching IoT Concepts",
        "body": "Educators can use the Smart Garden Insights dataset as a teaching tool to explain IoT concepts and their applications in agriculture. Students can analyze data trends and learn how technology is transforming traditional gardening practices."
      }
    ]
  },
  "counts": {
    "gardens": 100,
    "environmental_alerts": 150,
    "sensors": 500,
    "user_interactions": 1000,
    "watering_schedules": 300
  },
  "stats": {
    "gardens": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 9,
          "distinct": 77
        },
        "user_id": {
          "nulls": 0,
          "distinct": 61,
          "min": 1,
          "max": 99
        }
      }
    },
    "sensors": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "garden_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "sensor_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "moisture",
          "max": "temperature"
        },
        "value": {
          "nulls": 0,
          "distinct": 478,
          "min": 14.67,
          "max": 85.32
        },
        "recorded_at": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 13:43:07",
          "max": "2023-12-31 16:14:37"
        }
      }
    },
    "user_interactions": {
      "rows": 1000,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 1000,
          "min": 1,
          "max": 1000
        },
        "garden_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "command": {
          "nulls": 105,
          "distinct": 519
        },
        "executed_at": {
          "nulls": 0,
          "distinct": 1000,
          "min": "2023-01-01 02:14:15",
          "max": "2023-12-30 18:22:26"
        }
      }
    },
    "watering_schedules": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "garden_id": {
          "nulls": 0,
          "distinct": 93,
          "min": 1,
          "max": 100
        },
        "frequency": {
          "nulls": 0,
          "distinct": 3,
          "min": "biweekly",
          "max": "weekly"
        },
        "last_watered": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-03 11:42:27",
          "max": "2023-12-31 15:47:59"
        }
      }
    },
    "environmental_alerts": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "garden_id": {
          "nulls": 0,
          "distinct": 70,
          "min": 1,
          "max": 100
        },
        "alert_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "humidity",
          "max": "temperature"
        },
        "alert_time": {
          "nulls": 0,
          "distinct": 150,
          "min": "2023-01-01 10:21:21",
          "max": "2023-12-27 17:58:49"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/gardens.csv",
      "format": "csv",
      "table": "gardens",
      "key": "datasets/voice-controlled-smart-garden/v2/csv/gardens.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/csv/gardens.csv",
      "bytes": 2199,
      "sha256": "d4207dfa310c2d2b00fe4e549cf45d0cf815b2ffa0cd43fb12410854babc0ee6",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/environmental_alerts.csv",
      "format": "csv",
      "table": "environmental_alerts",
      "key": "datasets/voice-controlled-smart-garden/v2/csv/environmental_alerts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/csv/environmental_alerts.csv",
      "bytes": 5714,
      "sha256": "3d298752b5149ee185af93c39ff771a31a00b828edca9c97c8a78107bd8a945e",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/sensors.csv",
      "format": "csv",
      "table": "sensors",
      "key": "datasets/voice-controlled-smart-garden/v2/csv/sensors.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/csv/sensors.csv",
      "bytes": 21708,
      "sha256": "17c1862f6eb0ebd3e4cff13579417c461c9c39aae804d7e244f4f4a92b05e6dc",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/voice-controlled-smart-garden/v2/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/csv/user_interactions.csv",
      "bytes": 40551,
      "sha256": "88d45c6186a8e91726a3bb85323530124e04c4c3f6b327e63f70364ea65c6111",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/watering_schedules.csv",
      "format": "csv",
      "table": "watering_schedules",
      "key": "datasets/voice-controlled-smart-garden/v2/csv/watering_schedules.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/csv/watering_schedules.csv",
      "bytes": 10284,
      "sha256": "d984f62f52c389bb896c2219719f7b7de3775428422101ad068227a38f2789ac",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "voice-controlled-smart-garden.json",
      "format": "json",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/voice-controlled-smart-garden.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/voice-controlled-smart-garden.json",
      "bytes": 269288,
      "sha256": "a95ea902897d79baa799aaddd1ba0ce715a98a15d92708ebaafdace88d1237eb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/sql/postgres.sql",
      "bytes": 110732,
      "sha256": "67e877f7c6647a42acefcb4993d238fa31a03ff568138d80a6ce0b6ba7a7e08b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/sql/mysql.sql",
      "bytes": 110119,
      "sha256": "37fcff3f209305c2607ab02bd74b39061cbb3ae8c6753350da9ece5ba795121e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/sql/mssql.sql",
      "bytes": 114377,
      "sha256": "4855381c99c57a3a762341ec2b9031499242854afbb2a8e57344e826a6067d14",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/sql/sqlite.sql",
      "bytes": 109875,
      "sha256": "9be8d19a6a12156666c72d2d4fd8213c62ab42b85efe895cef517bbd8d47db66",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/prisma/seed.ts",
      "bytes": 232215,
      "sha256": "d630e761e812633e326936cb54772b02ec9b1ae10daa032f8996a191ead12f65",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/voice-controlled-smart-garden/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/voice-controlled-smart-garden/v2/django/fixtures.json",
      "bytes": 368269,
      "sha256": "ea465f7f5d538c1eaeecb242139d02e99f44c09479a81b3d19b2e6ee29e81a4d",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734275851,
  "updatedAt": 1788786870803
}
