{
  "format": "dataset-manifest/1",
  "slug": "parental-guidance-insights",
  "version": 2,
  "seed": "parental-guidance-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "parental-guidance-insights",
    "name": "Parental Guidance Insights",
    "tagline": "Conversations, advice posts, and resources on parenting, education, and child development from an engaged community.",
    "description": "Parental Guidance Insights is a synthetic dataset designed to model the interactions and experiences of a community platform where parents share advice on child-rearing. The dataset captures the dynamics of user engagement, the types of conversations held, and the resources utilized in parenting discussions. It includes various tables that represent users, advice posts, topics, resources, and milestones. The relationships among these tables allow for complex queries to analyze participation rates, popular topics, and the types of resources that are most frequently recommended. This dataset is ideal for SQL practice and teaching, giving users the opportunity to explore real-world scenarios without the need for sensitive data. Each table is interconnected, enabling users to ask questions about user interactions, topic popularity, and resource effectiveness within the parenting community.",
    "domain": "real-estate",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "parenting",
      "community",
      "advice",
      "children",
      "education",
      "development",
      "resources",
      "milestones"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table represents the users of the platform, capturing their unique identifiers and basic information. Each user can contribute advice posts and engage in discussions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The user's email address."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the user joined the platform.",
            "trend": "growing"
          },
          "active": {
            "kind": "bool",
            "trueRate": 0.75,
            "description": "Indicates whether the user is currently active."
          }
        }
      },
      "advice_posts": {
        "description": "This table holds the advice posts made by users, linking each post to the user who created it. Each post is associated with a specific topic and may include resources.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each advice post."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who created the advice post."
          },
          "topic_id": {
            "kind": "fk",
            "ref": "topics.id",
            "description": "The topic related to the advice post."
          },
          "content": {
            "kind": "paragraph",
            "min": 50,
            "max": 500,
            "description": "The content of the advice post."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date and time the post was created.",
            "dayProfile": "waking"
          }
        }
      },
      "topics": {
        "description": "This table lists the various topics discussed in the community, allowing users to categorize their advice posts.",
        "rows": 15,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each topic."
          },
          "name": {
            "kind": "title",
            "description": "The name of the topic.",
            "pool": [
              "investment",
              "market",
              "strategy",
              "analysis",
              "property",
              "trends",
              "development",
              "financing",
              "valuation",
              "location",
              "risk",
              "portfolio",
              "growth",
              "demand",
              "supply",
              "forecast",
              "insight",
              "opportunity",
              "yield",
              "return",
              "capital"
            ],
            "min": 1,
            "max": 3
          },
          "description": {
            "kind": "paragraph",
            "min": 10,
            "max": 200,
            "description": "A brief description of the topic."
          }
        }
      },
      "resources": {
        "description": "This table captures various resources that users can recommend in their advice posts, linking resources to the advice posts that mentioned them.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each resource."
          },
          "advice_post_id": {
            "kind": "fk",
            "ref": "advice_posts.id",
            "description": "The advice post that mentions this resource."
          },
          "resource_name": {
            "kind": "title",
            "description": "The name of the recommended resource.",
            "pool": [
              "guide",
              "report",
              "webinar",
              "ebook",
              "checklist",
              "template",
              "case-study",
              "toolkit",
              "video",
              "article",
              "podcast",
              "platform",
              "directory",
              "newsletter",
              "forum",
              "database",
              "book",
              "course",
              "seminar",
              "workshop",
              "blog"
            ],
            "min": 1,
            "max": 3
          },
          "url": {
            "kind": "url",
            "description": "The URL where the resource can be found."
          }
        }
      },
      "milestones": {
        "description": "This table tracks common parenting milestones that users may discuss, linking milestones to specific advice posts.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each milestone."
          },
          "name": {
            "kind": "title",
            "description": "The name of the milestone.",
            "pool": [
              "acquisition",
              "closing",
              "inspection",
              "listing",
              "financing",
              "appraisal",
              "renovation",
              "marketing",
              "negotiation",
              "sale",
              "purchase",
              "evaluation",
              "planning",
              "development",
              "launch",
              "transition",
              "completion",
              "reporting",
              "feedback",
              "review",
              "follow-up"
            ],
            "min": 1,
            "max": 3
          },
          "description": {
            "kind": "paragraph",
            "min": 10,
            "max": 200,
            "description": "A description of the milestone."
          },
          "advice_post_id": {
            "kind": "fk",
            "ref": "advice_posts.id",
            "description": "The advice post that mentions this milestone."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What topics generate the most discussions among users?",
      "How frequently do users engage with the platform?",
      "Which resources are most commonly recommended across advice posts?",
      "What milestones do parents find most challenging, according to the advice shared?",
      "Is there a correlation between user activity and the number of advice posts created?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users with Their Advice Posts",
        "sql": "SELECT u.full_name, p.content FROM users u JOIN advice_posts p ON u.id = p.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Advice Posts by Topic",
        "sql": "SELECT t.name, COUNT(p.id) FROM topics t LEFT JOIN advice_posts p ON t.id = p.topic_id GROUP BY t.name;",
        "dialect": "postgres"
      },
      {
        "title": "Find Popular Resources",
        "sql": "SELECT r.resource_name, COUNT(r.id) FROM resources r GROUP BY r.resource_name ORDER BY COUNT(r.id) DESC LIMIT 10;",
        "dialect": "postgres"
      },
      {
        "title": "Milestones Mentioned in Advice Posts",
        "sql": "SELECT m.name, COUNT(p.id) FROM milestones m JOIN advice_posts p ON m.advice_post_id = p.id GROUP BY m.name;",
        "dialect": "postgres"
      },
      {
        "title": "User Engagement Over Time",
        "sql": "SELECT DATE(p.created_at) AS post_date, COUNT(p.id) AS post_count FROM advice_posts p GROUP BY post_date ORDER BY post_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Database Management Students",
        "body": "Students in a database management course can use this dataset to practice creating, querying, and managing relational databases. By engaging with the various tables, they learn how to design schemas, write joins, and understand data relationships."
      },
      {
        "title": "Data Analysts",
        "body": "Data analysts can leverage this dataset to explore trends in parenting advice and community engagement. They can generate insights into the most discussed topics and identify key resources that parents find valuable, thus informing potential business strategies."
      },
      {
        "title": "Educators Teaching SQL",
        "body": "Educators can utilize this dataset in their SQL tutorials to teach students about data manipulation and analysis. The structured nature of the data allows for a variety of exercises that cover fundamental to advanced SQL concepts."
      },
      {
        "title": "Developers Building Community Platforms",
        "body": "Developers looking to build or enhance community platforms can use this dataset as a basis for understanding user behavior and interaction. Insights drawn from the data can guide feature development and user engagement strategies."
      }
    ]
  },
  "counts": {
    "topics": 15,
    "users": 200,
    "advice_posts": 500,
    "milestones": 100,
    "resources": 300
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Castro",
          "max": "Zoe Vargas"
        },
        "email": {
          "nulls": 0,
          "distinct": 199
        },
        "join_date": {
          "nulls": 0,
          "distinct": 185,
          "min": "2020-01-13",
          "max": "2023-12-24"
        },
        "active": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "advice_posts": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 181,
          "min": 1,
          "max": 200
        },
        "topic_id": {
          "nulls": 0,
          "distinct": 15,
          "min": 1,
          "max": 15
        },
        "content": {
          "nulls": 0,
          "distinct": 500
        },
        "created_at": {
          "nulls": 0,
          "distinct": 500,
          "min": "2020-01-02 20:02:50",
          "max": "2023-12-29 17:23:41"
        }
      }
    },
    "topics": {
      "rows": 15,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 15,
          "min": 1,
          "max": 15
        },
        "name": {
          "nulls": 0,
          "distinct": 13
        },
        "description": {
          "nulls": 0,
          "distinct": 15
        }
      }
    },
    "resources": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "advice_post_id": {
          "nulls": 0,
          "distinct": 221,
          "min": 2,
          "max": 499
        },
        "resource_name": {
          "nulls": 0,
          "distinct": 208
        },
        "url": {
          "nulls": 0,
          "distinct": 296
        }
      }
    },
    "milestones": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 85
        },
        "description": {
          "nulls": 0,
          "distinct": 100
        },
        "advice_post_id": {
          "nulls": 0,
          "distinct": 92,
          "min": 1,
          "max": 495
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/topics.csv",
      "format": "csv",
      "table": "topics",
      "key": "datasets/parental-guidance-insights/v2/csv/topics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/csv/topics.csv",
      "bytes": 2589,
      "sha256": "a327ebf759d7b82b850a5887c65803339bcbe3294cecf7ffb4098f14ef7799ef",
      "rows": 15,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/parental-guidance-insights/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/csv/users.csv",
      "bytes": 11376,
      "sha256": "586ef4a1f64cc8229379f6589a590b6fa4d8e4bd4eae4f69b9c684ebb9427ed1",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/advice_posts.csv",
      "format": "csv",
      "table": "advice_posts",
      "key": "datasets/parental-guidance-insights/v2/csv/advice_posts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/csv/advice_posts.csv",
      "bytes": 100335,
      "sha256": "6c2e6c191a577773ff504f2d9ccd3b8319681ebcff87a77510263c3e5434122b",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/milestones.csv",
      "format": "csv",
      "table": "milestones",
      "key": "datasets/parental-guidance-insights/v2/csv/milestones.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/csv/milestones.csv",
      "bytes": 20523,
      "sha256": "fb924caff545019055f0ddba9088c5ad34a7338292dfad1c5241b0f92de2d066",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/resources.csv",
      "format": "csv",
      "table": "resources",
      "key": "datasets/parental-guidance-insights/v2/csv/resources.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/csv/resources.csv",
      "bytes": 17279,
      "sha256": "1ffdd05f7cd8c0f707ee7e7553df11598ea31910684293f111b31f30c1f41bb6",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "parental-guidance-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/parental-guidance-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/parental-guidance-insights.json",
      "bytes": 261345,
      "sha256": "19e98b266e496d9fe3dda40e74b79bdac3b9cfa35a842f8dc58ba19e46c5eb67",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/sql/postgres.sql",
      "bytes": 169903,
      "sha256": "73021fed5fa6ab0559fc1e043698e61f498212d1ce94a0398916789db00629df",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/sql/mysql.sql",
      "bytes": 168707,
      "sha256": "9d765e9959bccfd75fdf38f29359f37aec7ef679909254e5cdac5d3ff61b5c88",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/sql/mssql.sql",
      "bytes": 171473,
      "sha256": "11675d87b5bb0dcf1ddc61cae71fb7084ce9ad6ace92d8987b22f1fe98a6774d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/sql/sqlite.sql",
      "bytes": 168485,
      "sha256": "0f9b12187d44d6a9b65a90663bc0fff1290f903630fb1763330ff68254f51e1f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/prisma/seed.ts",
      "bytes": 231080,
      "sha256": "1477c4681da0f5a2c60d532a20484fbda2a73a66158b73baeacd6382d7612292",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/parental-guidance-insights/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/parental-guidance-insights/v2/django/fixtures.json",
      "bytes": 307973,
      "sha256": "11826dd8029ef9b1cc7b61c1427761ade09850f255d95398f410a4927a6e068f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767670774,
  "updatedAt": 1788785313758
}
