Database schema:

CREATE TABLE incidents (
	case_number TEXT NOT NULL, 
	date DATE NOT NULL, 
	location TEXT NOT NULL, 
	subject_statuses TEXT NOT NULL, 
	subject_weapon TEXT NOT NULL, 
	subjects TEXT NOT NULL, 
	subject_count INTEGER NOT NULL, 
	officers TEXT NOT NULL, 
	PRIMARY KEY (case_number)
)


CREATE TABLE officers (
	case_number TEXT NOT NULL -- example: ['121982X', '44523A'],
	race TEXT -- example: ['L', 'W'],
	gender TEXT NOT NULL -- example: ['M', 'F'],
	last_name TEXT NOT NULL -- example: ['Fillingim', 'Patino'],
	first_name TEXT -- example: ['Brian', 'Michael'],
	full_name TEXT NOT NULL -- example: ['Fillingim, Brian', 'Patino, Michael'],
	CONSTRAINT fk_officers_incidents FOREIGN KEY(case_number) REFERENCES incidents (case_number)
)


CREATE TABLE subjects (
	case_number TEXT NOT NULL -- example: ['121982X', '44523A'],
	race TEXT NOT NULL -- example: ['L', 'B'],
	gender TEXT NOT NULL -- example: ['M', 'F'],
	last_name TEXT NOT NULL -- example: ['Curry', 'Chavez'],
	first_name TEXT -- example: ['Gabriel', 'James'],
	full_name TEXT NOT NULL -- example: ['Curry, James', 'Chavez, Gabriel'],
	CONSTRAINT fk_subjects_incidents FOREIGN KEY(case_number) REFERENCES incidents (case_number)
)

Question: In which year has the greatest number of cases where Handgun was used as weapon?
Evidence: year refers to year(date); the greatest number of cases refers to max(count(case_number)); OS Spray was used as weapon refers to subject_weapon = 'OS Spray'

SQL:
SELECT STRFTIME('%Y', date) FROM incidents WHERE subject_weapon = 'Handgun' GROUP BY STRFTIME('%Y', date) ORDER BY COUNT(case_number) DESC LIMIT 1