Learn R Programming

SocEpi (version 1.0.0)

health_data: Scottish health and deprivation data

Description

A data set on deprivation and self-rated health outcomes for postcode sectors from 2011 Scottish Census by ethnicity.

Usage

health_data

Arguments

Format

A data frame with 182160 rows and 15 variables:

PS_code

postcode sector code

PS_name

postcode sector name

health_board

health board name

council_area

Council area name

ur2fold

Two-fold urban rural classification (created based on output area level data). Used in this data set for illustration only.

total_pop

Total population of the postcode sector

carstairs

The 2011 Carstairs score

quintile

Quintiles of the Carstairs score; 1 - least deprived, 5 - most deprived

decile

Deciles of the Carstairs score; 1 - least deprived, 10 - most deprived

ethnicity

Ethnic group, "all" for all people

age

age group, 1 - "0-4", 2 - "5-9", up to 18 - "85 and above"

bad

number of people in bad general health

fg

number of people in fairly good health

good

number of people in good health

pop

number of people in age and ethnic group in postcode sector