{
  "format": "dataset-manifest/1",
  "slug": "global-health-insights",
  "version": 4,
  "seed": "global-health-insights:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "global-health-insights",
    "name": "Global Health Insights",
    "tagline": "Hospital capabilities, patient symptoms, vaccination rates, and border crossings during the Covid-19 pandemic.",
    "description": "Healthcare organizations and governments track Covid-19 metrics to shape effective public health responses. Hospitals play a critical role in this ecosystem, as they manage patient care while monitoring symptoms and administering tests. Each hospital is tied to a specific region, allowing for a detailed understanding of healthcare access and outcomes within those areas. Vaccination data complements this by highlighting immunization rates, which differ significantly across regions, particularly when contrasting urban centers with rural communities. The interplay between hospital resources, patient demographics, and vaccination rates shapes how effectively regions manage public health crises.\n\nEach row in the hospitals table represents a unique healthcare facility, detailing its capabilities such as bed count and the types of services provided. The regions table defines geographical areas and includes metrics like population size and healthcare access levels. Rows in the patients table capture individual patient data, encompassing demographics and reported symptoms, while vaccinations track the immunization status of these patients. Border crossings data illustrates movement patterns that might influence the spread of Covid-19, with links to regional health statistics.\n\nThis dataset enables practitioners to answer pressing questions such as: How do vaccination rates correlate with hospital admission rates in different regions? Are there emerging trends in patient symptoms that indicate a need for increased testing or healthcare resources? What effects do border crossings have on local Covid-19 case rates? The structure of this synthetic data allows for practice in relational database management, data visualization, and predictive analytics, fostering skills applicable in real-world health scenarios.",
    "domain": "saas",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "covid-19",
      "healthcare",
      "vaccination",
      "hospital",
      "patient",
      "symptoms",
      "testing",
      "border",
      "analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "hospitals": {
        "description": "This table contains information about hospitals, including their capacity and the number of Covid-19 patients treated. Each hospital is linked to its respective region, allowing for analysis of healthcare access.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each hospital."
          },
          "name": {
            "kind": "fullName",
            "description": "The full name of the hospital."
          },
          "capacity": {
            "kind": "int",
            "min": 50,
            "max": 2000,
            "description": "Total number of patients the hospital can accommodate.",
            "distribution": "normal"
          },
          "covid_patients": {
            "kind": "int",
            "min": 0,
            "max": 2000,
            "description": "Number of Covid-19 patients currently admitted.",
            "distribution": "long-tail"
          },
          "region_id": {
            "kind": "fk",
            "ref": "regions.id",
            "description": "Foreign key linking to the regions table."
          }
        }
      },
      "regions": {
        "description": "This table provides details about different regions, including population and vaccination rates. It connects hospitals to their respective geographic areas.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each region."
          },
          "name": {
            "kind": "title",
            "description": "The name of the region.",
            "pool": [
              "Africa",
              "Asia",
              "Europe",
              "North-America",
              "South-America",
              "Oceania",
              "Middle-East",
              "Southeast-Asia",
              "Eastern-Europe",
              "Western-Europe",
              "Central-America",
              "Caribbean",
              "Sub-Saharan",
              "Northern-America",
              "Southern-Europe",
              "South-Asia",
              "Pacific",
              "Indian-Ocean",
              "Arctic",
              "Antarctica",
              "Caucasus"
            ],
            "min": 1,
            "max": 3
          },
          "population": {
            "kind": "int",
            "min": 1000,
            "max": 10000000,
            "description": "Total population of the region.",
            "distribution": "heavy-tail"
          },
          "vaccination_rate": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Percentage of the population vaccinated against Covid-19.",
            "distribution": "high"
          }
        }
      },
      "patients": {
        "description": "This table includes data on patients who have been tested for Covid-19, detailing their symptoms and test results. It links to the hospitals where they received care.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each patient."
          },
          "hospital_id": {
            "kind": "fk",
            "ref": "hospitals.id",
            "description": "Foreign key linking to the hospitals table."
          },
          "symptoms": {
            "kind": "words",
            "max": 3,
            "description": "Symptoms experienced by the patient.",
            "nullable": true,
            "when": {
              "column": "test_result",
              "in": [
                "positive"
              ]
            },
            "pool": [
              "fever",
              "cough",
              "headache",
              "nausea",
              "fatigue",
              "dizziness",
              "chills",
              "muscle-pain",
              "sore-throat",
              "shortness-of-breath",
              "chest-pain",
              "joint-pain",
              "rash",
              "vomiting",
              "diarrhea",
              "sweating",
              "loss-of-smell",
              "loss-of-taste",
              "confusion",
              "abdominal-pain",
              "congestion"
            ],
            "min": 1
          },
          "test_result": {
            "kind": "enum",
            "values": [
              "positive",
              "negative"
            ],
            "description": "Result of the Covid-19 test.",
            "weights": [
              7,
              3
            ]
          },
          "test_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the test was administered.",
            "trend": "growing"
          }
        }
      },
      "vaccinations": {
        "description": "This table tracks vaccination events, including the date and type of vaccine administered to patients in different regions.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each vaccination event."
          },
          "patient_id": {
            "kind": "fk",
            "ref": "patients.id",
            "description": "Foreign key linking to the patients table."
          },
          "vaccine_type": {
            "kind": "enum",
            "values": [
              "Pfizer",
              "Moderna",
              "AstraZeneca",
              "Johnson & Johnson"
            ],
            "description": "Type of vaccine administered.",
            "weights": [
              5,
              4,
              2,
              1
            ]
          },
          "vaccination_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the vaccination was administered.",
            "trend": "seasonal"
          }
        }
      },
      "border_crossings": {
        "description": "This table records instances of border crossings, which may affect the spread of Covid-19. It links to regions to analyze travel impact.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each border crossing."
          },
          "region_id": {
            "kind": "fk",
            "ref": "regions.id",
            "description": "Foreign key linking to the regions table."
          },
          "crossing_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date of the border crossing.",
            "nullable": true,
            "when": {
              "column": "crossing_type",
              "in": [
                "entry"
              ]
            },
            "trend": "growing"
          },
          "crossing_type": {
            "kind": "enum",
            "values": [
              "entry",
              "exit"
            ],
            "description": "Type of border crossing.",
            "weights": [
              7,
              3
            ]
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "How have vaccination rates evolved across different regions over time?",
      "What is the correlation between hospital capacity and the number of Covid-19 patients?",
      "Which symptoms are most commonly reported among Covid-19 patients?",
      "How do border crossings impact the spread of Covid-19 in various regions?",
      "What trends can be observed in test results over the pandemic period?"
    ],
    "suggestedQueries": [
      {
        "title": "Join hospitals and regions",
        "sql": "SELECT hospitals.name, regions.name FROM hospitals JOIN regions ON hospitals.region_id = regions.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Covid-19 patients by region",
        "sql": "SELECT regions.name, COUNT(patients.id) AS patient_count FROM patients JOIN hospitals ON patients.hospital_id = hospitals.id JOIN regions ON hospitals.region_id = regions.id GROUP BY regions.name;",
        "dialect": "postgres"
      },
      {
        "title": "Average vaccination rate per region",
        "sql": "SELECT regions.name, AVG(regions.vaccination_rate) AS avg_vaccination_rate FROM regions GROUP BY regions.name;",
        "dialect": "postgres"
      },
      {
        "title": "Symptoms reported by Covid-19 patients",
        "sql": "SELECT symptoms, COUNT(*) FROM patients WHERE test_result = 'positive' GROUP BY symptoms;",
        "dialect": "postgres"
      },
      {
        "title": "Border crossings and Covid-19 cases",
        "sql": "SELECT regions.name, COUNT(border_crossings.id) AS crossings, COUNT(patients.id) AS patients FROM border_crossings JOIN regions ON border_crossings.region_id = regions.id LEFT JOIN patients ON regions.id = patients.hospital_id GROUP BY regions.name;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Healthcare Analysis",
        "body": "Healthcare analysts can utilize the Global Health Insights dataset to evaluate the effectiveness of vaccination campaigns across various regions. By analyzing the relationship between vaccination rates and hospital capacity, they can identify areas needing additional resources and better health policies."
      },
      {
        "title": "Public Health Research",
        "body": "Researchers studying the effects of Covid-19 can use this dataset to explore trends in patient symptoms and test results over time. This analysis can inform public health strategies and improve responses to the pandemic by identifying common symptoms and their severity."
      },
      {
        "title": "Educational Purposes",
        "body": "Instructors can leverage the Global Health Insights dataset in academic settings to teach students about data analysis and SQL querying. By working with real-world healthcare data, students can gain practical experience in analyzing trends and drawing insights relevant to public health."
      },
      {
        "title": "Policy Making",
        "body": "Policymakers can access this dataset to understand the impact of border crossings on Covid-19 transmission. By evaluating the correlation between travel and infection rates, they can develop informed policies regarding travel restrictions and public health measures."
      }
    ]
  },
  "counts": {
    "regions": 50,
    "border_crossings": 150,
    "hospitals": 100,
    "patients": 200,
    "vaccinations": 300
  },
  "stats": {
    "hospitals": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 98,
          "min": "Amir Castro",
          "max": "Zoe Nguyen"
        },
        "capacity": {
          "nulls": 0,
          "distinct": 97,
          "min": 385,
          "max": 1731
        },
        "covid_patients": {
          "nulls": 0,
          "distinct": 98,
          "min": 0,
          "max": 1989
        },
        "region_id": {
          "nulls": 0,
          "distinct": 45,
          "min": 1,
          "max": 50
        }
      }
    },
    "regions": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 42
        },
        "population": {
          "nulls": 0,
          "distinct": 50,
          "min": 1000,
          "max": 9933092
        },
        "vaccination_rate": {
          "nulls": 0,
          "distinct": 49,
          "min": 3.92,
          "max": 99.97
        }
      }
    },
    "patients": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "hospital_id": {
          "nulls": 0,
          "distinct": 91,
          "min": 1,
          "max": 100
        },
        "symptoms": {
          "nulls": 61,
          "distinct": 101
        },
        "test_result": {
          "nulls": 0,
          "distinct": 2,
          "min": "negative",
          "max": "positive"
        },
        "test_date": {
          "nulls": 0,
          "distinct": 187,
          "min": "2020-01-04",
          "max": "2023-12-31"
        }
      }
    },
    "vaccinations": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 159,
          "min": 1,
          "max": 200
        },
        "vaccine_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "AstraZeneca",
          "max": "Pfizer"
        },
        "vaccination_date": {
          "nulls": 0,
          "distinct": 270,
          "min": "2020-01-05",
          "max": "2023-12-28"
        }
      }
    },
    "border_crossings": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "region_id": {
          "nulls": 0,
          "distinct": 48,
          "min": 1,
          "max": 50
        },
        "crossing_date": {
          "nulls": 39,
          "distinct": 108,
          "min": "2020-02-10",
          "max": "2023-12-25"
        },
        "crossing_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "entry",
          "max": "exit"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/regions.csv",
      "format": "csv",
      "table": "regions",
      "key": "datasets/global-health-insights/v4/csv/regions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/csv/regions.csv",
      "bytes": 1855,
      "sha256": "c202ec72b6e4c1f568a37fe318e2feadd6ccef8bbe37554eb2c69adef13d2da9",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/border_crossings.csv",
      "format": "csv",
      "table": "border_crossings",
      "key": "datasets/global-health-insights/v4/csv/border_crossings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/csv/border_crossings.csv",
      "bytes": 3226,
      "sha256": "a7910a94bd7e80afdc82d5e5cd193ff58da4c2619b550c407c30b9e270333686",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/hospitals.csv",
      "format": "csv",
      "table": "hospitals",
      "key": "datasets/global-health-insights/v4/csv/hospitals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/csv/hospitals.csv",
      "bytes": 2763,
      "sha256": "c39323e2f06127e289ba621b2aea9f669002021cd58da3841f648373b936cae3",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/patients.csv",
      "format": "csv",
      "table": "patients",
      "key": "datasets/global-health-insights/v4/csv/patients.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/csv/patients.csv",
      "bytes": 8317,
      "sha256": "add33366bc1ec93858088626704411024b523038cfe29639889a8694f5d5361c",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/vaccinations.csv",
      "format": "csv",
      "table": "vaccinations",
      "key": "datasets/global-health-insights/v4/csv/vaccinations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/csv/vaccinations.csv",
      "bytes": 8499,
      "sha256": "c785e1e7a891fd1b7a6c2166fff256f804f9db7dffa41e6f425ed46d4a0b1d01",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "global-health-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/global-health-insights/v4/global-health-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/global-health-insights.json",
      "bytes": 106403,
      "sha256": "a4ab64f6c74993b5099d1579ab93a3eb4fb0cf5409a9606d34c86d140a4e9765",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/global-health-insights/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/sql/postgres.sql",
      "bytes": 38353,
      "sha256": "27a606156610b5bd8244ef3bfec2c46d51e8a9cf263f2e80dd41d9fa8f14a22b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/global-health-insights/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/sql/mysql.sql",
      "bytes": 37770,
      "sha256": "ec778cb3d436e51892771184e8a7f6f20ec07219dcf3a0eca415f3db0f7c9395",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/global-health-insights/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/sql/mssql.sql",
      "bytes": 39655,
      "sha256": "3307563ba41a48dec9396f09b9bceeb5dea140654bcc8697ebd1a85179545bc7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/global-health-insights/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/sql/sqlite.sql",
      "bytes": 37573,
      "sha256": "a0b02f6278a42ba1a36c857e04f360bc1a349bc260d9eda2ffd13f5b95ac6307",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/global-health-insights/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/prisma/seed.ts",
      "bytes": 82639,
      "sha256": "9c33b456d92af42278b8cc31a09157efc8b72a741fdcaf127ac565430823976a",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/global-health-insights/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/global-health-insights/v4/django/fixtures.json",
      "bytes": 141649,
      "sha256": "0b3d9054b728d9d2c11e49ca6bcc02b21670662938b5f4a2c2110ecfe3948821",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768166169,
  "updatedAt": 1789095839863
}
