Skip to content

simd2012_health_domain_quintile

Scottish Government SIMD 2012 health domain quintile, unweighted, 1 = most deprived; copied exactly as published on statistics.gov.scot, never derived; the publisher places some tied zones in adjacent bands

What the health domain measures (indicators in the Scottish Government's SIMD 2020v2 glossary; earlier editions' indicators differ in detail):

  • Comparative illness factor (HlthCIFSR, standardised ratio; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Hospital stays related to alcohol use (HlthAlcSR, standardised ratio; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Hospital stays related to drug use (HlthDrugSR, standardised ratio; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Mortality (HlthSMR, standardised ratio; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Proportion of population being prescribed drugs for anxiety, depression or psychosis (HlthDprsPc, percentage; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Proportion of live singleton births of low birth weight (HlthLBWTPc, percentage; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
  • Emergency stays in hospital (HlthEmerSR, standardised ratio; SIMD 2020v2 glossary: a 2020v2 example, not verified for this edition)
Table Type Nullable Category In the CSV export SQL Server type
history table (postcode_simd_history, SPD) int8 no Scottish Government published domain band yes tinyint
main table (postcode_simd, SSPL) int8 no Scottish Government published domain band yes tinyint

Provenance (the same in both tables)

Each table runs its own copy of the table-level checks, named .history. and .main..

Where it comes from

Input Field Condition Reaches the row by
statistics.gov.scot/simd_historical_2004_2012.csv (pinned, SHA256 d9745d9d7763…) Value SIMD Domain = Health, Measurement = Quintile, DateCode = 2012 DataZone2001Code = FeatureCode
data.gov.uk/SG_SIMD_2012/SG_SIMD_2012.dbf (pinned, SHA256 4dc58c30c7d0…) hlthrank the rank the published rank must equal, or differ from as declared DataZone2001Code = datazone

Scope: the row itself.

What was done to it: copied (gated). The Scottish Government's published band, copied, never derived; admitted only where the published rank is the shapefile's, a half the dataset rounds up allowed. (code: simd_ingest/core/govscot.py: read_published_bands)

How it is checked (what each check tests; whether a build passed it is in that build's manifest.json["checks"])

  • source.hash.statistics.gov.scot/simd_historical_2004_2012.csv: the pinned file's SHA256 equals the registry's: the bytes are exactly the ones reviewed
  • govscot.2012.bands.years: the band file holds exactly the years the registry declares for it
  • govscot.2012.bands.health.zones: every zone of the edition is published once for the domain
  • govscot.2012.bands.health.ranks_agree: every published rank equals the shapefile rank, or differs only in a declared way
  • join.<table>.gov.2012.every_record_matched: every record found its data zone in the edition: no empty cell
  • readback.<table>.attached_values: every attached value in the saved file is looked up again from the sources and equal
  • govscot.2012.bands.health.quintile.whole: every published band is a whole number
  • govscot.2012.bands.health.quintile.range: every published band is within its range
  • govscot.2012.bands.health.quintile.monotone: the published band never falls as the published rank rises (a split tie is allowed)
  • join.<table>.simd2012_health_domain_quintile.range: every joined band is within its range

Why: simd-domain-bands, bands-are-looked-up