Description Usage Arguments Value Examples
Produce a version of the Health Survey for England data that has the Townsend Index in it, based on the probabilistic mapping between the 2015 English Index of Multiple Deprivation and the Townsend Index from the 2001 census.
1 | use_townsend(data, imdq_to_townsend_map = hseclean::imdq_to_townsend)
|
data |
Data table - the Health Survey for England dataset |
imdq_to_townsend_map |
Data table - laid out as a matrix that gives the probability that someone from each IMD quintile will be in each Townsend quintile. |
Returns a re-sampled version of the Health Survey for England data, in which each data point is duplicated 5 times (once for each Townsend quintile) and the survey weights adjusted accordingly.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.