National

RPCS

FBICrimeData.nationalArrestCount(offense: OffenseArrest, category: Enum<male, female, race>, startYear: BoundedInteger<1985, 2019>, endYear: BoundedInteger<1985, 2019>, ageCategory: ArrestAgeCategory?)

Get the number of arrests for the nation in a certain time period

Arguments:

  • offense: OffenseArrest (OffenseArrest) - the type of breach of a law or rule

  • category: Enum<male, female, race> (Enum) - variable that describes the individual or crime committed

  • startYear: BoundedInteger<1985, 2019> (BoundedInteger) - beginning year

  • endYear: BoundedInteger<1985, 2019> (BoundedInteger) - ending year

  • ageCategory: ArrestAgeCategory? (ArrestAgeCategory) - the category of age statistics to retrieve - defaults to returning a table of all available age ranges

Returns: Object (Object) - data related to national arrest count

FBICrimeData.nationalOffenseCount(offense: OffenseData, category: OffenseDataOpt)

Get the number of offenses for a specific instance

Arguments:

  • offense: OffenseData (OffenseData) - the type of breach of a law or rule

  • category: OffenseDataOpt (OffenseDataOpt) - variable affecting crimes including examples: count, weapons, etc.

Returns: Object (Object) - data related to national offense count

FBICrimeData.nationalSupplementalCount(offense: OffenseSupplemental, category: SuppDataOpt, startYear: BoundedInteger<1985, 2019>, endYear: BoundedInteger<1985, 2019>)

Get the number of supplemental offenses nationwise

Arguments:

  • offense: OffenseSupplemental (OffenseSupplemental) - the type of breach of a law or rule

  • category: SuppDataOpt (SuppDataOpt) - variable affecting crimes including examples: count, weapons, etc.

  • startYear: BoundedInteger<1985, 2019> (BoundedInteger) - beginning year

  • endYear: BoundedInteger<1985, 2019> (BoundedInteger) - ending year

Returns: Object (Object) - data related to national supplemental count

FBICrimeData.nationalVictimCount(offense: OffenseVictim, category: Enum<age, count, ethnicity, race, sex, relationship>)

Get the number of victims for the nation based on the offense and variable

Arguments:

  • offense: OffenseVictim (OffenseVictim) - the type of breach of a law or rule

  • category: Enum<age, count, ethnicity, race, sex, relationship> (Enum) - variable that describes the individual who committed the crime

Returns: Object (Object) - data related to national victim count