{
  "format": "dataset-manifest/1",
  "slug": "marketing-archive-insights",
  "version": 2,
  "seed": "marketing-archive-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "marketing-archive-insights",
    "name": "Marketing Archive Insights",
    "tagline": "Files, bookmarks, compressions, and conversion tasks for digital marketing management.",
    "description": "Marketers manage a variety of digital assets, ensuring that valuable content is organized and accessible for effective campaign execution. They regularly handle files that include essential marketing resources, track bookmarks for quick references, and optimize storage through compression tasks. Each of these elements plays a critical role in maintaining an efficient marketing operation, allowing teams to focus on delivering impactful messages to their audiences. The business thrives on the careful examination of file formats and compression algorithms, enhancing productivity by ensuring that marketers can quickly find and utilize the right resources.\n\nThe dataset consists of several interconnected tables: 'files', 'compressions', 'bookmarks', 'file_associations', and 'conversion_tasks'. A row in the 'files' table represents an individual digital asset, detailing its type and format. The 'compressions' table records the various algorithms applied to these files, while 'bookmarks' capture essential references that marketing teams might frequently use. 'File_associations' link files to specific campaigns or tasks, providing context that can influence how assets are utilized. Finally, 'conversion_tasks' contain details on custom processes tailored to meet specific marketing needs, highlighting unique or complex workflows that differ from standard practices.\n\nThrough this dataset, users can answer critical questions about file types that are most commonly used in marketing, the efficiency of various compression methods, and the effectiveness of different file associations in campaign performance. This insight is invaluable for optimizing file management processes and enhancing overall productivity. Analysts and developers can practice data management, relationship mapping, and query design on this synthetic dataset, honing their skills in a realistic marketing context.",
    "domain": "marketing",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "digital marketing",
      "file management",
      "compression",
      "data insights",
      "workflow optimization",
      "synthetic data"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "files": {
        "description": "This table holds records of various files used in marketing campaigns, linking to their respective formats and compression methods.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each file."
          },
          "file_name": {
            "kind": "words",
            "max": 3,
            "description": "Name of the file.",
            "pool": [
              "report",
              "analysis",
              "strategy",
              "overview",
              "summary",
              "presentation",
              "data",
              "insight",
              "results",
              "trends",
              "metrics",
              "performance",
              "campaign",
              "audit",
              "review",
              "plan",
              "proposal",
              "brief",
              "document",
              "research",
              "case"
            ],
            "min": 1
          },
          "file_format": {
            "kind": "enum",
            "values": [
              "jpg",
              "png",
              "pdf",
              "zip",
              "rar"
            ],
            "description": "Format of the file.",
            "weights": [
              6,
              4,
              2,
              1,
              1
            ]
          },
          "compression_id": {
            "kind": "fk",
            "ref": "compressions.id",
            "description": "References the compression method used.",
            "nullable": true,
            "when": {
              "column": "file_format",
              "in": [
                "jpg",
                "png"
              ]
            }
          }
        }
      },
      "compressions": {
        "description": "This table lists various compression methods available for files, with an emphasis on marketing-specific algorithms.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each compression method."
          },
          "algorithm": {
            "kind": "enum",
            "values": [
              "gzip",
              "bzip2",
              "zip",
              "rar",
              "7zip"
            ],
            "description": "Name of the compression algorithm.",
            "weights": [
              5,
              3,
              2,
              1,
              1
            ]
          },
          "compression_level": {
            "kind": "int",
            "min": 1,
            "max": 9,
            "description": "Level of compression applied.",
            "nullable": true
          }
        }
      },
      "bookmarks": {
        "description": "This table records bookmarks associated with files, linking them to specific marketing campaigns.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each bookmark."
          },
          "file_id": {
            "kind": "fk",
            "ref": "files.id",
            "description": "References the file associated with the bookmark."
          },
          "campaign_name": {
            "kind": "words",
            "max": 3,
            "description": "Name of the marketing campaign related to the bookmark.",
            "nullable": true,
            "pool": [
              "spring",
              "launch",
              "growth",
              "engagement",
              "brand",
              "awareness",
              "digital",
              "strategy",
              "promotion",
              "event",
              "email",
              "social",
              "content",
              "influencer",
              "feedback",
              "retargeting",
              "conversion",
              "analysis",
              "optimization",
              "targeting"
            ],
            "min": 1
          }
        }
      },
      "file_associations": {
        "description": "This table links files to each other, showing relationships and dependencies between different marketing materials.",
        "rows": 180,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each association."
          },
          "source_file_id": {
            "kind": "fk",
            "ref": "files.id",
            "description": "The source file in the association."
          },
          "target_file_id": {
            "kind": "fk",
            "ref": "files.id",
            "description": "The target file in the association."
          }
        }
      },
      "conversion_tasks": {
        "description": "This table tracks conversion tasks performed on files, including unique marketing-related conversions.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each conversion task."
          },
          "file_id": {
            "kind": "fk",
            "ref": "files.id",
            "description": "References the file being converted."
          },
          "conversion_type": {
            "kind": "enum",
            "values": [
              "format_change",
              "compression",
              "encryption"
            ],
            "description": "Type of conversion performed."
          },
          "status": {
            "kind": "enum",
            "values": [
              "pending",
              "completed",
              "failed"
            ],
            "description": "Current status of the conversion task.",
            "nullable": true,
            "when": {
              "column": "conversion_type",
              "in": [
                "compression",
                "encryption"
              ]
            },
            "weights": [
              2,
              6,
              1
            ]
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What file formats are most commonly used in marketing campaigns?",
      "How do different compression methods affect file sizes?",
      "Which marketing campaigns have the most bookmarks associated?",
      "What types of file associations are most prevalent?",
      "How often do conversion tasks fail, and what are the common reasons?"
    ],
    "suggestedQueries": [
      {
        "title": "List all files with their formats and compression methods",
        "sql": "SELECT f.file_name, f.file_format, c.algorithm FROM files f JOIN compressions c ON f.compression_id = c.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count files by their formats",
        "sql": "SELECT f.file_format, COUNT(*) as file_count FROM files f GROUP BY f.file_format;",
        "dialect": "postgres"
      },
      {
        "title": "Get conversion task statistics by type",
        "sql": "SELECT c.conversion_type, COUNT(*) as task_count FROM conversion_tasks c GROUP BY c.conversion_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find the most linked files through associations",
        "sql": "SELECT source_file_id, COUNT(target_file_id) as link_count FROM file_associations GROUP BY source_file_id ORDER BY link_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze conversion task statuses",
        "sql": "SELECT status, COUNT(*) as task_count FROM conversion_tasks GROUP BY status;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Digital Marketing Educators",
        "body": "Instructors teaching digital marketing can utilize this dataset to demonstrate the importance of proper file management in campaigns. They can create assignments that require students to analyze file formats, compression methods, and conversion tasks, fostering hands-on learning."
      },
      {
        "title": "Marketing Analysts",
        "body": "Analysts can leverage this dataset to identify trends in file usage across various campaigns. By querying the relationships between files and their formats, they can derive insights that help optimize future marketing strategies and improve efficiency."
      },
      {
        "title": "Data Science Practitioners",
        "body": "Data scientists can use this synthetic dataset for practicing SQL queries and honing their skills. They can engage in exploratory data analysis to uncover patterns in file associations and conversion tasks, preparing for real-world applications in marketing analytics."
      }
    ]
  },
  "counts": {
    "compressions": 100,
    "files": 150,
    "bookmarks": 200,
    "conversion_tasks": 120,
    "file_associations": 180
  },
  "stats": {
    "files": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "file_name": {
          "nulls": 0,
          "distinct": 114
        },
        "file_format": {
          "nulls": 0,
          "distinct": 5,
          "min": "jpg",
          "max": "zip"
        },
        "compression_id": {
          "nulls": 40,
          "distinct": 63,
          "min": 2,
          "max": 99
        }
      }
    },
    "compressions": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "algorithm": {
          "nulls": 0,
          "distinct": 5,
          "min": "7zip",
          "max": "zip"
        },
        "compression_level": {
          "nulls": 12,
          "distinct": 9,
          "min": 1,
          "max": 9
        }
      }
    },
    "bookmarks": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "file_id": {
          "nulls": 0,
          "distinct": 106,
          "min": 1,
          "max": 148
        },
        "campaign_name": {
          "nulls": 25,
          "distinct": 142
        }
      }
    },
    "file_associations": {
      "rows": 180,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 180,
          "min": 1,
          "max": 180
        },
        "source_file_id": {
          "nulls": 0,
          "distinct": 115,
          "min": 1,
          "max": 149
        },
        "target_file_id": {
          "nulls": 0,
          "distinct": 105,
          "min": 1,
          "max": 150
        }
      }
    },
    "conversion_tasks": {
      "rows": 120,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 120,
          "min": 1,
          "max": 120
        },
        "file_id": {
          "nulls": 0,
          "distinct": 94,
          "min": 1,
          "max": 150
        },
        "conversion_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "compression",
          "max": "format_change"
        },
        "status": {
          "nulls": 42,
          "distinct": 3,
          "min": "completed",
          "max": "pending"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/compressions.csv",
      "format": "csv",
      "table": "compressions",
      "key": "datasets/marketing-archive-insights/v2/csv/compressions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/csv/compressions.csv",
      "bytes": 1117,
      "sha256": "8a1daf7d5bfa5e6fd29cde37c183be640582fbce1bfcb17f0e81e9f85961d56f",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/files.csv",
      "format": "csv",
      "table": "files",
      "key": "datasets/marketing-archive-insights/v2/csv/files.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/csv/files.csv",
      "bytes": 4037,
      "sha256": "696dd1114c512fcf0d67f66b35481272f63b342626cd78120bea8b37b6e9fe25",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/bookmarks.csv",
      "format": "csv",
      "table": "bookmarks",
      "key": "datasets/marketing-archive-insights/v2/csv/bookmarks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/csv/bookmarks.csv",
      "bytes": 4903,
      "sha256": "22ccccd0fcf363cc8c5a68141e258e4e067d8d4976c7b08887e2ef9340555560",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conversion_tasks.csv",
      "format": "csv",
      "table": "conversion_tasks",
      "key": "datasets/marketing-archive-insights/v2/csv/conversion_tasks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/csv/conversion_tasks.csv",
      "bytes": 3182,
      "sha256": "448d726f3c80df320b7f097e8fe155eddf32febd84c130c4b3bda88937284ff3",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/file_associations.csv",
      "format": "csv",
      "table": "file_associations",
      "key": "datasets/marketing-archive-insights/v2/csv/file_associations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/csv/file_associations.csv",
      "bytes": 2013,
      "sha256": "c13a337317f8b4fa519edab2f453bdb685706fd9633b5fac307ebe043ed0524c",
      "rows": 180,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "marketing-archive-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/marketing-archive-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/marketing-archive-insights.json",
      "bytes": 74798,
      "sha256": "a54fe7f87de95a91060a64a8b4d9b6098b14906b9be939a26c1890284bdb2e21",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/sql/postgres.sql",
      "bytes": 26136,
      "sha256": "87f9facaf5276c5b3f4dfe0057f13cbd46c3360bb032a55c7b0cea9535e0efee",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/sql/mysql.sql",
      "bytes": 25543,
      "sha256": "d285724070807e4e43ad9219f58584a78dc76df23c63658c4fe08be320d35b8a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/sql/mssql.sql",
      "bytes": 26665,
      "sha256": "c41983d904bba5f962291a91d26005016b09c0727fe4c3b07d98418df1f7bb64",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/sql/sqlite.sql",
      "bytes": 25287,
      "sha256": "a7bebab6f1f7b90b6d01e5cb7ca7a8a57da976fa83706264c329ba619f747c14",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/prisma/seed.ts",
      "bytes": 58579,
      "sha256": "2dd1434262d9837f10e039b89dd92c48dfeaa24517033a30f33d88cac6b96952",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/marketing-archive-insights/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/marketing-archive-insights/v2/django/fixtures.json",
      "bytes": 107619,
      "sha256": "e55f8bb25284ea83f04f208b940fd5fb637048d9aad05e14c5679a423f588064",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788733962239,
  "updatedAt": 1788784851628
}
