{
  "format": "dataset-manifest/1",
  "slug": "real-estate-data-connections",
  "version": 2,
  "seed": "real-estate-data-connections:1",
  "spec": {
    "format": "dataset/1",
    "slug": "real-estate-data-connections",
    "name": "Real-Estate Data Connections",
    "tagline": "Connections between properties, users, and databases in the real estate sector.",
    "description": "Real estate professionals analyze properties and transactions using diverse data sources, establishing connections that inform their decisions. This business thrives on the interplay between properties, users, and databases, with a focus on understanding how these entities interact through various metrics and alerts. The real estate connections captured in this dataset illustrate these dynamics, revealing patterns of user engagement across a landscape where properties range from actively listed to historical holdings.\n\nEach row in the real_estate_connections table represents a unique interaction between a property and a user, showcasing the types of connections that exist. This includes direct engagements with listings, inquiries made, and interactions with data systems. Users are mapped to various properties they are interested in or have accessed, giving a clear view of engagement levels and frequency. By analyzing this information, developers can understand trends in user behavior and property interest, providing valuable insights into the real estate market's ebb and flow.\n\nPracticing with this data allows developers to explore various questions such as: How do user engagement levels vary among different property types? What patterns emerge in user interactions over time? Which properties experience the highest engagement rates, and how does that correlate with market trends? This dataset serves as a practical tool for honing skills in data manipulation, querying, and analysis.\n\nIt’s important to note that the data within this dataset is synthetic, designed to mimic real-world interactions in the real estate industry. The goal is to offer a rich resource for developers looking to practice their data skills in a context that reflects genuine business operations.",
    "domain": "real-estate",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "real estate",
      "data connections",
      "user engagement",
      "properties",
      "market trends",
      "metrics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "real_estate_connections": {
        "description": "Each row links a property to a user, detailing their interaction metrics and alerts. This table captures how users engage with various properties over time.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each connection."
          },
          "property_id": {
            "kind": "uuid",
            "description": "Unique identifier for the property involved in the connection."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for the user interacting with the property."
          },
          "views": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of views the property received from the user.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "inquiries": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Number of inquiries made by the user about the property.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "alerts_triggered": {
            "kind": "int",
            "min": 0,
            "max": 10,
            "description": "Number of alerts triggered by user activity on the property.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "last_accessed": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the user last accessed the property.",
            "nullable": true,
            "trend": "growing"
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "high-cardinality",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "How many views do properties receive on average from users?",
      "What is the relationship between user inquiries and the number of views?",
      "Which properties have the highest user engagement based on alerts triggered?",
      "How does user engagement vary between active and historical listings?"
    ],
    "suggestedQueries": [
      {
        "title": "Basic User Engagement Overview",
        "sql": "SELECT property_id, SUM(views) AS total_views FROM real_estate_connections GROUP BY property_id;",
        "dialect": "postgres"
      },
      {
        "title": "Inquiries per Property",
        "sql": "SELECT property_id, AVG(inquiries) AS average_inquiries FROM real_estate_connections GROUP BY property_id;",
        "dialect": "postgres"
      },
      {
        "title": "Alerts Analysis",
        "sql": "SELECT property_id, COUNT(alerts_triggered) AS alerts_count FROM real_estate_connections WHERE last_accessed >= '2023-01-01' GROUP BY property_id;",
        "dialect": "postgres"
      },
      {
        "title": "Trends Over Time",
        "sql": "SELECT DATE_TRUNC('month', last_accessed) AS month, COUNT(*) AS total_connections FROM real_estate_connections GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Real Estate Analyst",
        "body": "A real estate analyst can use this dataset to evaluate user engagement metrics across different property listings. By querying the dataset, they can identify which properties attract the most views and inquiries, helping them to provide insights into market trends and user preferences."
      },
      {
        "title": "Data Science Instructor",
        "body": "An instructor teaching data science can utilize this dataset in a classroom setting to demonstrate key SQL concepts such as joins, aggregates, and window functions. Students can practice writing queries to extract meaningful insights about user interactions and engagement in the real estate sector."
      },
      {
        "title": "Property Manager",
        "body": "A property manager can leverage the data to understand user behavior towards their listings. By analyzing the alerts triggered and inquiries made, they can tailor their marketing strategies to improve engagement and conversion rates for their properties."
      }
    ]
  },
  "counts": {
    "real_estate_connections": 500
  },
  "stats": {
    "real_estate_connections": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "property_id": {
          "nulls": 0,
          "distinct": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 500
        },
        "views": {
          "nulls": 45,
          "distinct": 340,
          "min": 0,
          "max": 995
        },
        "inquiries": {
          "nulls": 50,
          "distinct": 98,
          "min": 0,
          "max": 99
        },
        "alerts_triggered": {
          "nulls": 54,
          "distinct": 11,
          "min": 0,
          "max": 10
        },
        "last_accessed": {
          "nulls": 47,
          "distinct": 384,
          "min": "2020-01-05",
          "max": "2023-12-30"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/real_estate_connections.csv",
      "format": "csv",
      "table": "real_estate_connections",
      "key": "datasets/real-estate-data-connections/v2/csv/real_estate_connections.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/csv/real_estate_connections.csv",
      "bytes": 48419,
      "sha256": "bc1ae60d7f8241d371c175146a413d8c800b1050a905d85e743bca3dd4a08f75",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-estate-data-connections.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/real-estate-data-connections.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/real-estate-data-connections.json",
      "bytes": 127576,
      "sha256": "5aaabbcc1761a1d01dd8dbe74fce0ed62955f84feb6c7581b1c6e582fc0e46b4",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/sql/postgres.sql",
      "bytes": 59155,
      "sha256": "2fa2835842021d82f2124692b616ae67d9dba9a58ed603e4a388b1847cf82060",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/sql/mysql.sql",
      "bytes": 59022,
      "sha256": "82ec5122badec663c67b73bf6f5db8de6ad3425c5def7780051ed39544152365",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/sql/mssql.sql",
      "bytes": 60582,
      "sha256": "2acc9a653a6467c28681d47b97d143487af62ace67c3321e5bc559b5aef76a4e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/sql/sqlite.sql",
      "bytes": 59009,
      "sha256": "1c945bf0de6a1d3d5d7ba50a4be743a6c4018156d394b496ec7a1d79c642c66e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/prisma/seed.ts",
      "bytes": 102316,
      "sha256": "5e4af3ed832b7320691845fc9014e32190b09880f65cabe9b8950bd5038ac797",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-estate-data-connections/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-data-connections/v2/django/fixtures.json",
      "bytes": 156041,
      "sha256": "657e9de018d7202e746d7e589da28e79dd8f8d099edcd79ae8d7866d3fb662d2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766582515,
  "updatedAt": 1788785631200
}
