homicides15 {crimedata} | R Documentation |
Homicides in nine cities in 2015
Description
Dataset containing records of homicides in nine large US cities in 2015, obtained from the Crime Open Database.
Usage
homicides15
Format
A tibble with 1,922 rows and 15 variables:
- uid
an integer unique identifier for the offense
- city_name
name of the city in which the crime occurred
- offense_code
offense code, modified from the FBI NIBRS offense code
- offense_type
offense type name
- date_single
date (and, in most cases, time) of the offense
- address
approximate address of the offense*
- longitude
approximate longitude
- latitude
approximate latitude
- location_type
type of location*
- location_category
category of location type*
- fips_state
two-digit FIPS state code (possibly with leading zero)
- fips_county
three-digit FIPS county code (possibly with leading zero)
- tract
six-digit code for 2016 census tract
- block_group
one-digit code for 2016 census block group
- block
four-digit code for 2016 census block
Details
More details of the data format are available on the Crime Open Database website. Variables marked * are only available for some of the data, due to limitations in the data published by some cities.
The variables in this dataset mirror those obtained by calling
get_crime_data(type = "core")
, except that some fields have been
removed because they are redundant (e.g. if they have the same value for all
rows in this dataset).