10  Injury

10.1 Injury

First, load injury and population data

      age          code            diagnosis            Gender         
 Min.   : 1    Length:10380       Length:10380       Length:10380      
 1st Qu.:27    Class :character   Class :character   Class :character  
 Median :38    Mode  :character   Mode  :character   Mode  :character  
 Mean   :39                                                            
 3rd Qu.:53                                                            
 Max.   :84                                                            
 NA's   :773                                                           
    Region         
 Length:10380      
 Class :character  
 Mode  :character  
                   
                   
                   
                   
Figure 10.1: Age distribution of injury admissions

Overall there are 10380 records, of which 773 (7.45% ) have missing dates of of birth. These are excluded from analyis

The data contains values for 12 of the 13 regions.

10.2 Aggregate injury data

Region

diagnosis

code

age_band

Female

Male

Makkah

Open wound of head

S01

[25,30)

20

Northern Frontier

Open wound of head

S01

[20,25)

15

Northern Frontier

Open wound of head

S01

[25,30)

10

Northern Frontier

Open wound of head

S01

[30,35)

16

6

Northern Frontier

Open wound of head

S01

[35,40)

2

Northern Frontier

Open wound of head

S01

[40,45)

8

2

10.3 Recode region names to match census names

[1] "Al Jawf" "Jazan"   "Najran" 
 [1] "0-4"   "5-9"   "10-14" "15-19" "20-24" "25-29" "30-34" "35-39" "40-44"
[10] "45-49" "50-54" "55-59" "60-64" "65-69" "70-74" "75-79" "80+"  
 [1] [40,45) [70,75) [35,40) [65,70) [15,20) [80,85) [55,60) [25,30) [30,35)
[10] [60,65) [50,55) [0,5)   [45,50) [10,15) [20,25) [75,80)
24 Levels: [0,5) [5,10) [10,15) [15,20) [20,25) [25,30) [30,35) ... [115,120)
 [1] 0-4   5-9   10-14 15-19 20-24 25-29 30-34 35-39 40-44 45-49 50-54 55-59
[13] 60-64 65-69 70-74 75-79 80+  
17 Levels: 0-4 5-9 10-14 15-19 20-24 25-29 30-34 35-39 40-44 45-49 ... 80+

10.4 Calculate directly age standardised rates for injury admission by region and gender

Use epitools::ageadjust.direct.

To iterate over regions and gender we’ll split by gender and use the nest_by function to group data by region and apply standardiastion function.

Figure 10.2: Age standardised injury admission rate per 100,000 by region and gender