{
  "format": "dataset-manifest/1",
  "slug": "compassionate-connections",
  "version": 1,
  "seed": "compassionate-connections:1",
  "spec": {
    "format": "dataset/1",
    "slug": "compassionate-connections",
    "name": "Compassionate Connections",
    "tagline": "Pets, adoptions, assessments, events, and donors from a nonprofit focused on finding homes for animals.",
    "description": "Pets wait in loving anticipation as compassionate staff work to match them with their forever families. This nonprofit organization focuses on facilitating pet adoptions, managing surrendered animals, conducting behavioral assessments, and organizing community outreach events to promote animal welfare. Each pet entering the system is documented with details such as breed, age, and health status, allowing for tailored care and appropriate placement in loving homes. The organization also tracks adoption outcomes, highlighting both standard success stories and the more challenging placements that often involve emotional journeys for both the pets and their new families.\n\nThe relationships between the tables paint a comprehensive picture of the organization’s operations. The 'pets' table connects to the 'adoptions' table, tracking which animals have found homes and when. Each pet’s journey is often influenced by assessments from the 'assessments' table, which provide insights into behavior and temperament. When animals need to be surrendered, this information is logged in the 'surrenders' table, linking back to the pets needing new placements. Community involvement is reflected through the 'events' table, detailing the outreach initiatives that engage donors and promote adoptions. The 'donors' table captures the generous supporters of the organization, allowing for analysis of funding sources and community engagement.\n\nThis dataset is invaluable for exploring questions related to pet adoption trends, successful matching criteria, donor engagement, and the overall impact of community events on adoption rates. Practitioners can analyze relationships between assessments and successful adoptions, uncover patterns in donor contributions, and evaluate the effectiveness of outreach initiatives. As synthetic data, it provides a realistic simulation of the challenges and successes faced by nonprofits dedicated to animal welfare, offering developers a rich resource to practice data manipulation and analysis.",
    "domain": "nonprofit",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "pet adoption",
      "nonprofit",
      "community outreach",
      "donor management",
      "animal welfare",
      "data analysis"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "pets": {
        "description": "This table contains records of pets available for adoption, including their breed, age, and health status. Each pet is linked to assessments and adoptions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each pet."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the pet."
          },
          "species": {
            "kind": "enum",
            "values": [
              "Dog",
              "Cat",
              "Rabbit",
              "Other"
            ],
            "description": "The species of the pet."
          },
          "breed": {
            "kind": "words",
            "max": 20,
            "description": "The breed of the pet.",
            "nullable": true,
            "when": {
              "column": "species",
              "in": [
                "Dog",
                "Cat",
                "Rabbit",
                "Other"
              ]
            }
          },
          "age": {
            "kind": "int",
            "min": 0,
            "max": 15,
            "description": "Age of the pet in years.",
            "nullable": true
          },
          "health_status": {
            "kind": "enum",
            "values": [
              "Healthy",
              "Needs Medical Attention",
              "In Recovery"
            ],
            "description": "Current health status of the pet."
          }
        }
      },
      "adoptions": {
        "description": "This table records the details of adoptions, linking pets to their new families and tracking adoption dates.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each adoption."
          },
          "pet_id": {
            "kind": "fk",
            "ref": "pets.id",
            "description": "The pet being adopted."
          },
          "adopter_name": {
            "kind": "fullName",
            "description": "The name of the person adopting the pet."
          },
          "adoption_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the adoption took place.",
            "trend": "growing"
          },
          "follow_up": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Whether a follow-up with the adopter has been made."
          }
        }
      },
      "assessments": {
        "description": "This table contains behavioral assessments for each pet, detailing their temperament and suitability for adoption.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each assessment."
          },
          "pet_id": {
            "kind": "fk",
            "ref": "pets.id",
            "description": "The pet being assessed."
          },
          "temperament": {
            "kind": "enum",
            "values": [
              "Calm",
              "Energetic",
              "Aggressive",
              "Affectionate"
            ],
            "description": "Temperament category assigned during assessment."
          },
          "assessment_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the assessment was completed.",
            "trend": "growing"
          },
          "comments": {
            "kind": "sentence",
            "max": 250,
            "description": "Additional comments from the assessor.",
            "nullable": true,
            "when": {
              "column": "temperament",
              "in": [
                "Calm",
                "Energetic",
                "Aggressive",
                "Affectionate"
              ]
            }
          }
        }
      },
      "events": {
        "description": "This table tracks community outreach events organized by the nonprofit to promote pet adoptions and raise awareness.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each event."
          },
          "event_name": {
            "kind": "words",
            "max": 50,
            "description": "The name of the outreach event."
          },
          "event_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date when the event took place.",
            "trend": "seasonal"
          },
          "location": {
            "kind": "words",
            "max": 100,
            "description": "Location where the event was held.",
            "nullable": true
          },
          "attendance": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Number of attendees at the event.",
            "nullable": true
          }
        }
      },
      "donors": {
        "description": "This table contains information about donors who support the nonprofit, including their donation history.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each donor."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the donor."
          },
          "donation_amount": {
            "kind": "decimal",
            "min": 10,
            "max": 10000,
            "scale": 2,
            "description": "Amount donated by the donor.",
            "nullable": true
          },
          "donation_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the donation was made.",
            "nullable": true,
            "trend": "growing"
          }
        }
      },
      "surrenders": {
        "description": "This table records instances where pets are surrendered back to the organization, capturing reasons and circumstances.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each surrender record."
          },
          "pet_id": {
            "kind": "fk",
            "ref": "pets.id",
            "description": "The pet being surrendered."
          },
          "surrender_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the pet was surrendered.",
            "trend": "growing"
          },
          "reason": {
            "kind": "enum",
            "values": [
              "Allergies",
              "Moving",
              "Behavioral Issues",
              "Other"
            ],
            "description": "Reason for the surrender."
          },
          "comments": {
            "kind": "sentence",
            "max": 250,
            "description": "Additional comments regarding the surrender.",
            "nullable": true,
            "when": {
              "column": "reason",
              "in": [
                "Allergies",
                "Moving",
                "Behavioral Issues",
                "Other"
              ]
            }
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most common reasons for pet surrenders?",
      "How does the health status of pets affect their adoption rates?",
      "What types of community events lead to the highest adoption numbers?",
      "What trends can be observed in donor contributions over time?",
      "How do behavior assessments correlate with successful adoptions?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Pets with Adoptions",
        "sql": "SELECT p.name, a.adopter_name FROM pets p JOIN adoptions a ON p.id = a.pet_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Adoptions by Species",
        "sql": "SELECT p.species, COUNT(a.id) AS adoption_count FROM pets p LEFT JOIN adoptions a ON p.id = a.pet_id GROUP BY p.species;",
        "dialect": "postgres"
      },
      {
        "title": "Average Donation Amount by Event",
        "sql": "SELECT e.event_name, AVG(d.donation_amount) FROM events e LEFT JOIN donors d ON e.id = d.id GROUP BY e.event_name;",
        "dialect": "postgres"
      },
      {
        "title": "Trends in Surrender Reasons Over Time",
        "sql": "SELECT s.reason, COUNT(s.id) AS surrender_count, EXTRACT(YEAR FROM s.surrender_date) AS year FROM surrenders s GROUP BY s.reason, year ORDER BY year;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Nonprofit Data Analysis",
        "body": "Data analysts at a nonprofit organization can use this dataset to analyze the effectiveness of their pet adoption strategies. By examining adoption rates, donor contributions, and community outreach events, they can identify which initiatives are most impactful and refine their approaches accordingly."
      },
      {
        "title": "ETL Pipeline Development",
        "body": "Developers working on ETL pipelines can utilize this dataset to practice extracting, transforming, and loading data from various sources. They can simulate importing pet, adoption, and donor data into a data warehouse for reporting and analysis, ensuring that their ETL processes are robust and efficient."
      },
      {
        "title": "Behavioral Assessment Studies",
        "body": "Behavioral specialists can leverage this dataset to study the temperaments of pets and their correlation with adoption success. By analyzing the assessment data alongside adoption outcomes, they can develop better training programs for pets awaiting adoption, ultimately improving their chances of finding forever homes."
      },
      {
        "title": "Community Event Planning",
        "body": "Event coordinators can use this dataset to assess previous community outreach events and their impact on adoptions. By analyzing attendance records and subsequent adoption rates, they can plan more effective events that attract potential adopters and raise awareness about the organization's mission."
      }
    ]
  },
  "counts": {
    "donors": 100,
    "events": 50,
    "pets": 200,
    "adoptions": 150,
    "assessments": 200,
    "surrenders": 80
  },
  "stats": {
    "pets": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "name": {
          "nulls": 0,
          "distinct": 199,
          "min": "Alice Chen",
          "max": "Zoe Park"
        },
        "species": {
          "nulls": 0,
          "distinct": 4,
          "min": "Cat",
          "max": "Rabbit"
        },
        "breed": {
          "nulls": 0,
          "distinct": 200
        },
        "age": {
          "nulls": 18,
          "distinct": 16,
          "min": 0,
          "max": 15
        },
        "health_status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Healthy",
          "max": "Needs Medical Attention"
        }
      }
    },
    "adoptions": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "pet_id": {
          "nulls": 0,
          "distinct": 96,
          "min": 1,
          "max": 200
        },
        "adopter_name": {
          "nulls": 0,
          "distinct": 150,
          "min": "Alice Fischer",
          "max": "Zoe Pereira"
        },
        "adoption_date": {
          "nulls": 0,
          "distinct": 147,
          "min": "2020-02-25",
          "max": "2023-12-26"
        },
        "follow_up": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "assessments": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "pet_id": {
          "nulls": 0,
          "distinct": 130,
          "min": 1,
          "max": 200
        },
        "temperament": {
          "nulls": 0,
          "distinct": 4,
          "min": "Affectionate",
          "max": "Energetic"
        },
        "assessment_date": {
          "nulls": 0,
          "distinct": 182,
          "min": "2020-01-23",
          "max": "2023-12-28"
        },
        "comments": {
          "nulls": 0,
          "distinct": 200
        }
      }
    },
    "events": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "event_name": {
          "nulls": 0,
          "distinct": 50
        },
        "event_date": {
          "nulls": 0,
          "distinct": 48,
          "min": "2020-02-07",
          "max": "2023-12-11"
        },
        "location": {
          "nulls": 6,
          "distinct": 44
        },
        "attendance": {
          "nulls": 6,
          "distinct": 42,
          "min": 21,
          "max": 494
        }
      }
    },
    "donors": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 98,
          "min": "Alice Jansen",
          "max": "Yusuf Ibrahim"
        },
        "donation_amount": {
          "nulls": 10,
          "distinct": 90,
          "min": 280.14,
          "max": 9814.65
        },
        "donation_date": {
          "nulls": 9,
          "distinct": 88,
          "min": "2020-01-26",
          "max": "2023-12-18"
        }
      }
    },
    "surrenders": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "pet_id": {
          "nulls": 0,
          "distinct": 67,
          "min": 4,
          "max": 198
        },
        "surrender_date": {
          "nulls": 0,
          "distinct": 78,
          "min": "2020-01-01",
          "max": "2023-12-28"
        },
        "reason": {
          "nulls": 0,
          "distinct": 4,
          "min": "Allergies",
          "max": "Other"
        },
        "comments": {
          "nulls": 0,
          "distinct": 80
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/donors.csv",
      "format": "csv",
      "table": "donors",
      "key": "datasets/compassionate-connections/v1/csv/donors.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/donors.csv",
      "bytes": 3353,
      "sha256": "5829f74cb09c29f848d08dd1c5fcfb356f7734c9f79c73e7c50469a304cb1b22",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/events.csv",
      "format": "csv",
      "table": "events",
      "key": "datasets/compassionate-connections/v1/csv/events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/events.csv",
      "bytes": 27375,
      "sha256": "9c0cda7bc2a03341883cf1b13d231872d8d53482b891a4323feb7119ea70d47c",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/pets.csv",
      "format": "csv",
      "table": "pets",
      "key": "datasets/compassionate-connections/v1/csv/pets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/pets.csv",
      "bytes": 21564,
      "sha256": "d48b964140b047032d514c7e846d5d0acceb7e6a38a171dfd7b0d67a1ffdbdd8",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/adoptions.csv",
      "format": "csv",
      "table": "adoptions",
      "key": "datasets/compassionate-connections/v1/csv/adoptions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/adoptions.csv",
      "bytes": 5450,
      "sha256": "6f101b68fc76bf6d6e99714f5e90642cb49949cc5a03249f0a941df4fda4430a",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/assessments.csv",
      "format": "csv",
      "table": "assessments",
      "key": "datasets/compassionate-connections/v1/csv/assessments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/assessments.csv",
      "bytes": 17110,
      "sha256": "c33ff12f3cd0ea913232a145bcf55d47097e28800140f84e2119502e803cf9ae",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/surrenders.csv",
      "format": "csv",
      "table": "surrenders",
      "key": "datasets/compassionate-connections/v1/csv/surrenders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/csv/surrenders.csv",
      "bytes": 6910,
      "sha256": "cf58ad627a39ccbc1cc9fa0768ab804176c6b0a03a7b74d7c55f8c787f03790c",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "compassionate-connections.json",
      "format": "json",
      "table": null,
      "key": "datasets/compassionate-connections/v1/compassionate-connections.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/compassionate-connections.json",
      "bytes": 168603,
      "sha256": "030974d5627790e1aa579bde5077cfa2cbea3817dbd434ce0ac541f7e48cefd3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/compassionate-connections/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/sql/postgres.sql",
      "bytes": 97098,
      "sha256": "ca905dbbd19fbdfada9fd4e823facdce5b042f5696405fc772d9827c191eea03",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/compassionate-connections/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/sql/mysql.sql",
      "bytes": 95963,
      "sha256": "45281f25ce5e1bee1d31d4e8eee6568143944316437f74948deadd66fa11738e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/compassionate-connections/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/sql/mssql.sql",
      "bytes": 98621,
      "sha256": "f767018f815b57b5dea3cd0ca1b7c090c7f7300437d298acdacbc8be9b4c3688",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/compassionate-connections/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/sql/sqlite.sql",
      "bytes": 95769,
      "sha256": "80565574786b3ea95ea0abb298e4f41a9624041e3f8eb2eac21a27285bb29adc",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/compassionate-connections/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/prisma/seed.ts",
      "bytes": 140902,
      "sha256": "aaae0eb0821b61acf20bdd91dcabb8b176b0a43cbb654c694357fafd870b0ad3",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/compassionate-connections/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/compassionate-connections/v1/django/fixtures.json",
      "bytes": 201517,
      "sha256": "0a367412c21a17e01def071cd670dfe4e012e43dc44ae81d28321a98af90f5ce",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734078031,
  "updatedAt": 1788734078031
}
