State
RPCS
- FBICrimeData.stateArrestCount(state: USTerritory, category: ArrestCategory, startYear: BoundedInteger<1985, 2019>, endYear: BoundedInteger<1985, 2019>)
Get the number of arrests(for a particular offense) for the state in a certain time period
Arguments:
state: USTerritory(USTerritory) - location of the state the crime occurredcategory: ArrestCategory(ArrestCategory) - a general value describing the type of crime or perpetratorstartYear: BoundedInteger<1985, 2019>(BoundedInteger) - beginning yearendYear: BoundedInteger<1985, 2019>(BoundedInteger) - ending year
Returns:
Object(Object) - data related to state arrest count
- FBICrimeData.stateOffenseCount(state: USTerritory, offense: OffenseData, category: OffenseDataOpt)
Get the number of offenses for a specific region
Arguments:
state: USTerritory(USTerritory) - location of the crime (abbreviated US state)offense: OffenseData(OffenseData) - the type of offense committedcategory: OffenseDataOpt(OffenseDataOpt) - variable affecting crimes including examples: count, weapons, etc
Returns:
Object(Object) - data related to the state offense count
- FBICrimeData.stateSupplementalCount(state: USTerritory, offense: OffenseSupplemental, category: SuppDataOpt, startYear: BoundedInteger<1985, 2019>, endYear: BoundedInteger<1985, 2019>)
Get the number of supplemental offenses for a state
Arguments:
state: USTerritory(USTerritory) - location of the crime in a stateoffense: OffenseSupplemental(OffenseSupplemental) - the type of breach of a law or rulecategory: SuppDataOpt(SuppDataOpt) - variable affecting crimes including examples: count, weapons, etc.startYear: BoundedInteger<1985, 2019>(BoundedInteger) - beginning yearendYear: BoundedInteger<1985, 2019>(BoundedInteger) - ending year
Returns:
Object(Object) - data related to state supplemental count
- FBICrimeData.stateVictimCount(state: USTerritory, 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:
state: USTerritory(USTerritory) - state the crime occurredoffense: OffenseVictim(OffenseVictim) - the type of breach of a law or rulecategory: Enum<age, count, ethnicity, race, sex, relationship>(Enum) - variable that describes the individual who committed the crime
Returns:
Object(Object) - data related to state victim count