{
  "format": "dataset-manifest/1",
  "slug": "ai-powered-social-media-content-creator",
  "version": 2,
  "seed": "ai-powered-social-media-content-creator:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-powered-social-media-content-creator",
    "name": "Social Media Content Insights",
    "tagline": "AI-driven tools for creating and analyzing social media content.",
    "description": "Businesses generate engaging social media content to thrive in a competitive landscape. Users create drafts filled with ideas and multimedia assets, utilizing various templates to craft posts aimed at captivating their target audiences. Each user operates within a workspace where they can manage subscriptions, connect their social accounts, and monitor the performance of their published posts. While some posts occasionally go viral, most content sees modest engagement, often centered around specific themes or trending topics.\n\nThe structure of the data comprises several interconnected tables. The 'users' table contains information on the individuals or organizations creating content, while the 'drafts' table captures the initial ideas and multimedia elements before they become public posts. Once a draft is finalized, it transitions into the 'posts' table, where each entry represents a published piece of content on a social platform. The 'analytics' table follows, detailing the performance metrics of each post, such as engagement rates and audience reach. Finally, the 'social_accounts' table links users to their various social media profiles, demonstrating where their content is being shared and analyzed.\n\nThis dataset answers critical questions about social media strategy, such as which types of content generate the most engagement, what themes resonate with audiences, and how different platforms impact post performance. Developers can practice querying relationships between users and their drafts, analyzing the effects of different publishing strategies on engagement through the analytics, and exploring how social accounts influence overall performance. The data is synthetic, crafted to reflect realistic social media operations and behaviors, providing a safe environment for experimentation and learning.",
    "domain": "social",
    "shape": "multi-tenant",
    "useCases": [
      "orm-seeding",
      "api-mocking"
    ],
    "keywords": [
      "social media",
      "content creation",
      "analytics",
      "AI",
      "engagement",
      "performance",
      "drafts",
      "templates",
      "subscriptions"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a user in the system, linking to their social accounts and drafts. Users can have multiple accounts and drafts.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The user's full name."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The user's email address."
          },
          "subscription_type": {
            "kind": "enum",
            "values": [
              "free",
              "premium",
              "enterprise"
            ],
            "description": "Type of subscription the user has."
          }
        }
      },
      "drafts": {
        "description": "Drafts of social media posts created by users, linked to the corresponding user. Each draft can be turned into a post.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each draft."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who created the draft."
          },
          "content": {
            "kind": "words",
            "min": 20,
            "max": 500,
            "description": "The text content of the draft."
          },
          "media_url": {
            "kind": "url",
            "nullable": true,
            "description": "Optional URL to a media asset associated with the draft."
          }
        }
      },
      "posts": {
        "description": "Published posts that originate from drafts, linked to the respective draft. This table tracks engagement metrics.",
        "rows": {
          "per": "drafts",
          "via": "draft_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each post."
          },
          "draft_id": {
            "kind": "fk",
            "ref": "drafts.id",
            "description": "Reference to the draft that this post was created from."
          },
          "published_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time the post was published.",
            "dayProfile": "waking"
          },
          "engagement_count": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Total engagement count for the post.",
            "distribution": "long-tail"
          },
          "theme": {
            "kind": "enum",
            "values": [
              "trending",
              "informative",
              "promotional",
              "entertaining"
            ],
            "description": "Theme of the post."
          }
        }
      },
      "analytics": {
        "description": "Analytics data for published posts, providing insights into performance over time. Linked to posts for detailed analysis.",
        "rows": {
          "per": "posts",
          "via": "post_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each analytics record."
          },
          "post_id": {
            "kind": "fk",
            "ref": "posts.id",
            "description": "Reference to the post for which this analytics data applies."
          },
          "views": {
            "kind": "int",
            "min": 0,
            "max": 5000,
            "description": "Number of views for the post.",
            "distribution": "long-tail"
          },
          "likes": {
            "kind": "int",
            "min": 0,
            "max": 2000,
            "description": "Number of likes on the post.",
            "distribution": "heavy-tail"
          },
          "shares": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of shares of the post.",
            "distribution": "long-tail"
          }
        }
      },
      "social_accounts": {
        "description": "Social media accounts linked to users, allowing them to publish posts directly. Each user can manage multiple accounts.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each social account."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who owns the account."
          },
          "platform": {
            "kind": "enum",
            "values": [
              "Facebook",
              "Twitter",
              "Instagram",
              "LinkedIn"
            ],
            "description": "The social media platform for the account."
          },
          "account_handle": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The handle or username for the social media account.",
            "pool": [
              "user",
              "profile",
              "account",
              "handle",
              "name",
              "tag",
              "alias",
              "username",
              "identity",
              "channel",
              "feed",
              "network",
              "platform",
              "brand",
              "entity",
              "persona",
              "connection",
              "follower",
              "subscriber",
              "influencer",
              "creator"
            ]
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of content lead to the highest engagement?",
      "How do different themes affect post performance?",
      "Which social media platform has the most active user engagement?",
      "What trends can be discovered in user subscription types?",
      "How does the timing of posts impact their overall reach?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users with Their Drafts",
        "sql": "SELECT users.full_name, drafts.content FROM users JOIN drafts ON users.id = drafts.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Posts by Theme",
        "sql": "SELECT theme, COUNT(*) FROM posts GROUP BY theme;",
        "dialect": "postgres"
      },
      {
        "title": "Find Average Engagement per Post",
        "sql": "SELECT AVG(engagement_count) FROM posts;",
        "dialect": "postgres"
      },
      {
        "title": "Views vs. Likes Analysis",
        "sql": "SELECT posts.id, analytics.views, analytics.likes FROM posts JOIN analytics ON posts.id = analytics.post_id;",
        "dialect": "postgres"
      },
      {
        "title": "Trends in Engagement Over Time",
        "sql": "SELECT DATE_TRUNC('month', published_at) AS month, SUM(engagement_count) FROM posts GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Content Strategy Development",
        "body": "Social media managers can utilize this dataset to analyze various content themes and determine which resonate best with their audience. By examining engagement metrics and trends, they can refine their content strategy to maximize reach and effectiveness."
      },
      {
        "title": "Performance Analysis",
        "body": "Data analysts within a marketing team can use this dataset to track the performance of published posts over time. By identifying patterns in views, likes, and shares, they can provide insights into how to enhance future content and improve overall engagement."
      },
      {
        "title": "Account Management",
        "body": "Social media strategists can leverage this dataset to manage multiple social accounts for different brands. By monitoring analytics data across various platforms, they can develop tailored strategies for each account, ensuring effective engagement across all channels."
      },
      {
        "title": "AI-Driven Content Suggestions",
        "body": "Developers building AI tools for content creation can use this dataset to train models that suggest optimal content types and themes based on historical performance. By feeding the AI insights from past drafts and posts, they can enhance the quality of generated content."
      }
    ]
  },
  "counts": {
    "users": 100,
    "drafts": 211,
    "posts": 335,
    "analytics": 782,
    "social_accounts": 153
  },
  "stats": {
    "users": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "full_name": {
          "nulls": 0,
          "distinct": 99,
          "min": "Amir Singh",
          "max": "Zoe Khan"
        },
        "email": {
          "nulls": 0,
          "distinct": 100
        },
        "subscription_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "enterprise",
          "max": "premium"
        }
      }
    },
    "drafts": {
      "rows": 211,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 211,
          "min": 1,
          "max": 211
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "content": {
          "nulls": 0,
          "distinct": 211
        },
        "media_url": {
          "nulls": 22,
          "distinct": 187
        }
      }
    },
    "posts": {
      "rows": 335,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 335,
          "min": 1,
          "max": 335
        },
        "draft_id": {
          "nulls": 0,
          "distinct": 211,
          "min": 1,
          "max": 211
        },
        "published_at": {
          "nulls": 0,
          "distinct": 335,
          "min": "2023-01-01 10:20:33",
          "max": "2023-12-31 15:17:53"
        },
        "engagement_count": {
          "nulls": 0,
          "distinct": 255,
          "min": 0,
          "max": 995
        },
        "theme": {
          "nulls": 0,
          "distinct": 4,
          "min": "entertaining",
          "max": "trending"
        }
      }
    },
    "analytics": {
      "rows": 782,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 782,
          "min": 1,
          "max": 782
        },
        "post_id": {
          "nulls": 0,
          "distinct": 335,
          "min": 1,
          "max": 335
        },
        "views": {
          "nulls": 0,
          "distinct": 678,
          "min": 0,
          "max": 4970
        },
        "likes": {
          "nulls": 0,
          "distinct": 505,
          "min": 0,
          "max": 1991
        },
        "shares": {
          "nulls": 0,
          "distinct": 465,
          "min": 0,
          "max": 996
        }
      }
    },
    "social_accounts": {
      "rows": 153,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 153,
          "min": 1,
          "max": 153
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "platform": {
          "nulls": 0,
          "distinct": 4,
          "min": "Facebook",
          "max": "Twitter"
        },
        "account_handle": {
          "nulls": 0,
          "distinct": 116
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/ai-powered-social-media-content-creator/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/csv/users.csv",
      "bytes": 4911,
      "sha256": "989246ed29687c47309730252d64a656911fe202df72360119f91f1732650753",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/drafts.csv",
      "format": "csv",
      "table": "drafts",
      "key": "datasets/ai-powered-social-media-content-creator/v2/csv/drafts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/csv/drafts.csv",
      "bytes": 348515,
      "sha256": "2bc7692ab55a1fd6b54a926093369e7280d1cf58ff0e516d95b3d3b8bdefedca",
      "rows": 211,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/posts.csv",
      "format": "csv",
      "table": "posts",
      "key": "datasets/ai-powered-social-media-content-creator/v2/csv/posts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/csv/posts.csv",
      "bytes": 14503,
      "sha256": "a24d5bcc3046e11fc78370b2932fb67a5a810f2732121135a8046ff17ce5b100",
      "rows": 335,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/analytics.csv",
      "format": "csv",
      "table": "analytics",
      "key": "datasets/ai-powered-social-media-content-creator/v2/csv/analytics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/csv/analytics.csv",
      "bytes": 15841,
      "sha256": "9fa4501ade216015d256a690d0f9d3c60315e5ee37592e6267e5aa887d2fc617",
      "rows": 782,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/social_accounts.csv",
      "format": "csv",
      "table": "social_accounts",
      "key": "datasets/ai-powered-social-media-content-creator/v2/csv/social_accounts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/csv/social_accounts.csv",
      "bytes": 4939,
      "sha256": "cf80e8e0e2f9f8cd61f5cf7f5c8e88296e37ac69084c81e14fb7e52f728819b7",
      "rows": 153,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-powered-social-media-content-creator.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/ai-powered-social-media-content-creator.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/ai-powered-social-media-content-creator.json",
      "bytes": 538583,
      "sha256": "f3984e058c533028859afdcf943da7bbd40f21e94a993e605ea436a9e7207a15",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/sql/postgres.sql",
      "bytes": 410428,
      "sha256": "8ab6c3c5ae7fa23a8314d32ce39131daa9cb65d8c35c1d9d41c1fb2530d3b071",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/sql/mysql.sql",
      "bytes": 409864,
      "sha256": "b0a1a4382141a9b4b199750a492f980e2ab875730cf3df9588a62f38dee42af8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/sql/mssql.sql",
      "bytes": 411854,
      "sha256": "f485ca71d96e01b5a25927e25d99c25709ef5484cb1e348680d299d21fb4a648",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/sql/sqlite.sql",
      "bytes": 409679,
      "sha256": "e9cb5eb46a0d42d401ceaa57a455d87adec8665aa272afcab650b7256a316321",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/prisma/seed.ts",
      "bytes": 490089,
      "sha256": "a5c06beab4e160c7241f9b3acaf93472b684d205611cea4e2edb0f3004760500",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-powered-social-media-content-creator/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-social-media-content-creator/v2/django/fixtures.json",
      "bytes": 603912,
      "sha256": "5bec3d23f294f0b951ea39ec33d10c995de39b672300a64f95f5b8b4da5c6f2e",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734332732,
  "updatedAt": 1788777414806
}
