File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,10 @@ IMD rankings are recalculated every 3 or 4 years.
7272Consequently, there is no original ranking for some newly built residences.
7373In these cases, the rounded ranking is -1.
7474
75- ---8<-- 'includes/imd-warning-header.md'
75+ !!! warning
76+ The original IMD ranking is rounded to the nearest 100 in the OpenSAFELY-TPP and OpenSAFELY-EMIS databases.
77+ The rounded IMD ranking ranges from 0 to 32,800.
78+ If there is no original ranking, then the rounded ranking is -1 in the OpenSAFELY-TPP database and ` NULL ` in the OpenSAFELY-EMIS database.
7679
7780Occasionally, a patient has multiple active registrations on a given date.
7881If so, the address is chosen as follows:
Original file line number Diff line number Diff line change @@ -362,7 +362,16 @@ In addition:
362362
363363## Grouping IMD by quintile
364364
365- ---8<-- 'includes/imd-warning-header.md'
365+ !!! warning
366+ The original IMD ranking is rounded to the nearest 100 in the OpenSAFELY-TPP and OpenSAFELY-EMIS databases.
367+ The rounded IMD ranking ranges from 0 to 32,800.
368+ If there is no original ranking, then the rounded ranking is -1 in the OpenSAFELY-TPP database and ` NULL ` in the OpenSAFELY-EMIS database.
369+
370+ !!! warning
371+ Avoid extracting the rounded IMD ranking to a binary format, such as ` .feather ` or ` .dta ` .
372+ Either nest it within a variable,
373+ such as when [ grouping rounded IMD by quintile] ( https://docs.opensafely.org/legacy/study-def-tricks/#grouping-imd-by-quintile ) ,
374+ or extract it to a non-binary format, such as ` .csv.gz ` .
366375
367376To group IMD by quintile, then:
368377
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments