Concept: Charge Category - Justice System
Last Updated: 2024-04-10
Charge Category | ACT |
Specific SECTION_NO for ACT='CC'
|
Administrative | All YCJA, all YOA, CC |
CC (1-43, 145, 811, 468-840) |
Assault | CC |
CC (264.1 – 270.1) |
Drug | All NCA, all CDSA, CC |
CC (462.1-462.2) |
Other | CC |
CC (46-83, 118-144, 146-149, 183-209, 463, 465) |
Property | CC |
CC (321-462 and 462.3-462.5) |
Sexual | CC |
CC (150-182, 210-213, and 271-278.91) |
Violent | CC |
CC (83.01-117.11, 214-264 and 279-320.1) |
Highway Traffic Act (HTA) | HTA |
. |
All other (All non-Criminal Code) |
All other ACTS not listed above ( LCA, DVA, ORVA, PPA, PTA, WA, etc.) |
. |
NOTE:
Acronym Description
CC Criminal Code
CDSA Controlled Drug and Substances Act
DVA Drivers and Vehicle Act
HTA Highway Traffic Act
LCA Liquor Control Act
NCA Narcotic Control Act
ORVA Off-Road Vehicle Act
PPA Provincial Park Act
PTA Petty Trespasses Act
WA Wildlife Act
YCJA Youth Criminal Justice Act
YOA Young Offenders Act
length charge_category $20.;run;
charge_category = 'ALL_OTHER';
if (ACT in ('YCJA', 'YOA') OR
(ACT in ('CC') AND
(section_no in (145, 811) or
1 <= section_no <= 43 or
468 <= section_no <= 840))) then do;
charge_category = 'ADMINISTRATIVE';
end;
else if (ACT in ('CC') and 264.1 <= section_no <= 270.1) then do;
charge_category = 'ASSAULT';
end;
else if (ACT in ('NCA', 'CDSA') OR
(ACT in ('CC') and 462.1 <= section_no <= 462.2)) then do;
charge_category = 'DRUG';
end;
else if (ACT in ('CC') AND
( 46 <= section_no <= 83 or
118 <= section_no <= 144 or
146 <= section_no <= 149 or
183 <= section_no <= 209 or
section_no in (463, 465))) then do;
charge_category = 'OTHER';
end;
else if (ACT in ('CC') AND
( 321 <= section_no <= 462 or
462.3 <= section_no <= 462.5)) then do;
charge_category = 'PROPERTY';
end;
else if (ACT in ('CC') AND
(150 <= section_no <= 182 or
210 <= section_no <= 213 or
271 <= section_no <= 278.91)) then do;
charge_category = 'SEXUAL';
end;
else if (ACT in ('CC') AND
(83.01 <= section_no <= 117.11 or
214 <= section_no <= 264 or
279 <= section_no <= 320.1)) then do;
charge_category = 'VIOLENT';
end;
* NOTE: in the 'ALL_OTHER' charge category move all records where ACT = 'HTA' to charge_category = 'HTA';
if charge_category = 'ALL_OTHER' and ACT = 'HTA' then do;
charge_category = 'HTA';
end;
* NOTE: the 'All_OTHER' charge category should not contain any ACT = 'CC' records
--> Move these records to the 'OTHER' charge category.;
if charge_category = 'ALL_OTHER' and ACT = 'CC' then do;
charge_category = 'OTHER';
end;