src/util/nibrs.js
Function offenderDemo
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const offenderDemo = data => {
const {
offenderAgeNum,
offenderEthnicity,
offenderRaceCode,
Function victimDemo
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const victimDemo = data => {
const { victimAgeNum, victimEthnicity, victimRaceCode, victimSexCode } = data
return {
title: 'Victim demographics',