{
  "format": "dataset-manifest/1",
  "slug": "backpacking-community-platform",
  "version": 2,
  "seed": "backpacking-community-platform:1",
  "spec": {
    "format": "dataset/1",
    "slug": "backpacking-community-platform",
    "name": "Backpacking Enthusiasts Dataset",
    "tagline": "User-generated insights on trails, wildlife sightings, gear reviews, and trip itineraries for backpacking enthusiasts.",
    "description": "Users share their backpacking adventures and insights on a community platform dedicated to outdoor exploration. They report their wildlife sightings, review trails they’ve hiked, discuss their experiences with different gear, and document their trips. Each interaction contributes to a dynamic database of outdoor experiences that fosters connection among enthusiasts. Users can also earn badges based on their contributions and adventures, which encourages engagement and highlights their achievements within the community.\n\nThe structure of this dataset includes several interconnected tables. The 'users' table contains information about each individual who participates in the platform, such as usernames, badges earned, and engagement metrics. The 'trails' table features details about the various hiking trails, including location, difficulty level, and user ratings. Each trail can be linked to multiple 'wildlife_sightings', capturing unique encounters users have while trekking. Additionally, 'gear_reviews' provide insights on the equipment that users recommend or critique based on their experiences. Finally, the 'trips' table tracks the itineraries of users’ backpacking trips, detailing which trails were tackled, the dates of the trips, and related wildlife sightings.\n\nThis dataset offers ample opportunities for analysis, allowing developers to explore questions such as the most popular trails, the correlation between gear ratings and trip satisfaction, or trends in wildlife sightings over time. It is ideal for practicing skills in data manipulation, query building, and relationship mapping. Please note that all data in this dataset is synthetic, designed to provide a safe and realistic environment for learning.",
    "domain": "social",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "backpacking",
      "outdoor",
      "community",
      "trails",
      "wildlife",
      "gear",
      "reviews",
      "adventures"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a user in the community platform. It includes personal details and badges earned through their contributions.",
        "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": "Email address of the user."
          },
          "badge_count": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Number of badges earned by the user.",
            "nullable": true
          }
        }
      },
      "trails": {
        "description": "This table lists various trails available in the community, capturing details about their difficulty and popularity.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each trail."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the trail.",
            "pool": [
              "summit",
              "ridge",
              "valley",
              "creek",
              "peak",
              "loop",
              "vista",
              "canyon",
              "trail",
              "path",
              "forest",
              "meadow",
              "lake",
              "hill",
              "bay",
              "mountain",
              "river",
              "saddle",
              "overlook",
              "glade",
              "way"
            ]
          },
          "difficulty": {
            "kind": "enum",
            "values": [
              "easy",
              "moderate",
              "hard"
            ],
            "description": "Difficulty level of the trail."
          },
          "popularity": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of reviews submitted for the trail.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      },
      "wildlife_sightings": {
        "description": "Records of wildlife encounters reported by users while on various trails.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each wildlife sighting."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who reported the sighting."
          },
          "trail_id": {
            "kind": "fk",
            "ref": "trails.id",
            "description": "The trail where the sighting occurred."
          },
          "species": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Common name of the wildlife species sighted.",
            "nullable": true,
            "pool": [
              "eagle",
              "bear",
              "deer",
              "fox",
              "owl",
              "squirrel",
              "rabbit",
              "hawk",
              "salmon",
              "wolf",
              "moose",
              "elk",
              "raccoon",
              "badger",
              "bison",
              "coyote",
              "quail",
              "turkey",
              "puma",
              "lynx",
              "otter"
            ]
          },
          "sighting_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date of the wildlife sighting.",
            "nullable": true,
            "trend": "seasonal"
          }
        }
      },
      "gear_reviews": {
        "description": "Users provide reviews on the gear they have used during their trips, including ratings and comments.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each gear review."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who wrote the review."
          },
          "gear_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the gear being reviewed.",
            "pool": [
              "tent",
              "backpack",
              "sleepingbag",
              "hikingboots",
              "waterbottle",
              "stove",
              "map",
              "compass",
              "firstaidkit",
              "flashlight",
              "hammock",
              "trekkingpoles",
              "knife",
              "clothing",
              "filter",
              "cookware",
              "headlamp",
              "multitool",
              "binoculars",
              "gps",
              "chair"
            ]
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "Rating given to the gear, from 1 to 5 stars.",
            "nullable": true,
            "distribution": "high"
          },
          "review_text": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Text of the user's review.",
            "nullable": true
          }
        }
      },
      "trips": {
        "description": "Details about trips taken by users, linking them to trails and including trip itineraries.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each trip."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who took the trip."
          },
          "trail_id": {
            "kind": "fk",
            "ref": "trails.id",
            "description": "The trail on which the trip occurred."
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Start date of the trip.",
            "nullable": true,
            "trend": "growing"
          },
          "end_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "End date of the trip.",
            "nullable": true,
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What types of wildlife are most commonly reported on different trails?",
      "How do user ratings of gear correlate with the trails they are used on?",
      "Which trails receive the most reviews and what is their average difficulty?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Their Trips",
        "sql": "SELECT users.full_name, trips.start_date, trips.end_date FROM users JOIN trips ON users.id = trips.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Ratings Per Trail",
        "sql": "SELECT trails.name, AVG(gear_reviews.rating) AS average_rating FROM gear_reviews JOIN users ON gear_reviews.user_id = users.id JOIN trips ON users.id = trips.user_id JOIN trails ON trips.trail_id = trails.id GROUP BY trails.name;",
        "dialect": "postgres"
      },
      {
        "title": "Wildlife Sightings by Trail",
        "sql": "SELECT trails.name, COUNT(wildlife_sightings.id) AS sightings_count FROM wildlife_sightings JOIN trails ON wildlife_sightings.trail_id = trails.id GROUP BY trails.name;",
        "dialect": "postgres"
      },
      {
        "title": "Trips and Gear Reviews",
        "sql": "SELECT trips.id, users.full_name, gear_reviews.gear_name FROM trips JOIN users ON trips.user_id = users.id JOIN gear_reviews ON users.id = gear_reviews.user_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Educators Teaching SQL",
        "body": "Teachers can use this dataset to create engaging lessons on SQL querying. By providing real-world scenarios based on user interactions in the backpacking community, educators can help students learn to write complex queries that join multiple tables and aggregate data."
      },
      {
        "title": "Data Analysts Exploring User Behavior",
        "body": "Data analysts can utilize this dataset to uncover insights about user behavior in the backpacking community. By analyzing the relationships between user reviews, wildlife sightings, and trail attributes, analysts can help the community improve its offerings and engage users more effectively."
      },
      {
        "title": "Developers Building Community Features",
        "body": "Developers building features for the backpacking platform can use this dataset to test new functionalities. By simulating user interactions and content, they can ensure that their applications are robust and provide a seamless experience for outdoor enthusiasts."
      }
    ]
  },
  "counts": {
    "trails": 150,
    "users": 200,
    "gear_reviews": 250,
    "trips": 400,
    "wildlife_sightings": 300
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 200,
          "min": "Alice Castro",
          "max": "Zoe Hoffmann"
        },
        "email": {
          "nulls": 0,
          "distinct": 200
        },
        "badge_count": {
          "nulls": 10,
          "distinct": 82,
          "min": 1,
          "max": 98
        }
      }
    },
    "trails": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 0,
          "distinct": 124
        },
        "difficulty": {
          "nulls": 0,
          "distinct": 3,
          "min": "easy",
          "max": "moderate"
        },
        "popularity": {
          "nulls": 12,
          "distinct": 122,
          "min": 0,
          "max": 995
        }
      }
    },
    "wildlife_sightings": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 153,
          "min": 1,
          "max": 200
        },
        "trail_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 2,
          "max": 150
        },
        "species": {
          "nulls": 29,
          "distinct": 193
        },
        "sighting_date": {
          "nulls": 41,
          "distinct": 242,
          "min": "2020-01-01",
          "max": "2023-12-24"
        }
      }
    },
    "gear_reviews": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "user_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 199
        },
        "gear_name": {
          "nulls": 0,
          "distinct": 178
        },
        "rating": {
          "nulls": 26,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "review_text": {
          "nulls": 24,
          "distinct": 225
        }
      }
    },
    "trips": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "user_id": {
          "nulls": 0,
          "distinct": 173,
          "min": 1,
          "max": 200
        },
        "trail_id": {
          "nulls": 0,
          "distinct": 138,
          "min": 1,
          "max": 150
        },
        "start_date": {
          "nulls": 47,
          "distinct": 316,
          "min": "2020-01-01",
          "max": "2023-12-28"
        },
        "end_date": {
          "nulls": 36,
          "distinct": 312,
          "min": "2020-01-04",
          "max": "2023-12-29"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/trails.csv",
      "format": "csv",
      "table": "trails",
      "key": "datasets/backpacking-community-platform/v2/csv/trails.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/csv/trails.csv",
      "bytes": 4069,
      "sha256": "7a05773b0db110ba0921764085a9e272a789ced77f29ac51d2167e991ffb7bf1",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/backpacking-community-platform/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/csv/users.csv",
      "bytes": 8716,
      "sha256": "7e5dacfac561f5e6149a77434fcc6e7b28374fc004ab1637a5dd5e6b1152114b",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/gear_reviews.csv",
      "format": "csv",
      "table": "gear_reviews",
      "key": "datasets/backpacking-community-platform/v2/csv/gear_reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/csv/gear_reviews.csv",
      "bytes": 19436,
      "sha256": "33d9b07a78e9b3cde8c6e7483161b83729d4c53dc3726e23b6bc3c06c6512324",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/trips.csv",
      "format": "csv",
      "table": "trips",
      "key": "datasets/backpacking-community-platform/v2/csv/trips.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/csv/trips.csv",
      "bytes": 12584,
      "sha256": "d5aae865ea4ec17a9b934c61c524cf0cfc1129cefc01d1e0fcdc3d9dc3a95ab5",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/wildlife_sightings.csv",
      "format": "csv",
      "table": "wildlife_sightings",
      "key": "datasets/backpacking-community-platform/v2/csv/wildlife_sightings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/csv/wildlife_sightings.csv",
      "bytes": 9691,
      "sha256": "ce3041d07fe107f04da9e9f254c22721cde5e812f54b71f3597b060284e0bc26",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "backpacking-community-platform.json",
      "format": "json",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/backpacking-community-platform.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/backpacking-community-platform.json",
      "bytes": 185185,
      "sha256": "59a0a730ff7813420a84fd4b550a2af36a9f6a6776cff2c669c0dc411417d4cd",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/sql/postgres.sql",
      "bytes": 75721,
      "sha256": "32651cb06165d6d2c98712357bdcf12a8c45cb13062e13e64ed06a54b0953bc8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/sql/mysql.sql",
      "bytes": 75146,
      "sha256": "393b90e7859b3c2a5a22c435fafc1f0d51edb1c1928912581a121364a438b6b7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/sql/mssql.sql",
      "bytes": 77901,
      "sha256": "4c1ae88d0a8bd0e0e369954436dfdab206604f24e1d6fbdb1587ad5f5fa6a661",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/sql/sqlite.sql",
      "bytes": 74925,
      "sha256": "56ab43dcb49af2961cd4d3c4cc82cac2a967684ac0227b9e55968d0a6ad269d0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/prisma/seed.ts",
      "bytes": 142129,
      "sha256": "1ff11121d4ef9c0fe237302ded64869593beeb2cd7ade8560ef6f3b129ef4489",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/backpacking-community-platform/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/backpacking-community-platform/v2/django/fixtures.json",
      "bytes": 238679,
      "sha256": "4b74d2eb9616a8c3210d06b10a7c70f60acc7b6e14430a5608ff50092c0f08e5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768559048,
  "updatedAt": 1788777609958
}
