pittsburghom: Pittsburgh Homicides 1993

Description Usage Format Details Source Examples

Description

Location of homicides in Pittsburgh, PA (1993).

Usage

1

Format

An sf data frame with 143 rows, 9 variables, and a geometry column:

CASEID

Identifier for case, as character

NEWID

Identifier for case, as numeric

EVENT_YR

Year of homicide

GUN

Indicator variable, 1 = gun used

GANG

Indicator variable, 1 = gang-related

DRUG

Indicator variable, 1 = drug-related

X_COORD

X-coordinate

Y_COORD

Y-coordinate

Details

Sf object, unprojected. EPSG 4326: WGS84.

Source

Subset of Pitthom. Original data made available by George Tita, Department of Criminology, Law and Society, University of California, Irvine, CA 92697, (gtita@uci.edu).

Examples

1
2
3
4
5
if (requireNamespace("sf", quietly = TRUE)) {
  library(sf)
  data(pittsburghom)
  plot(pittsburghom["GUN"])
}

spatialanalysis/geodaData documentation built on Oct. 6, 2020, 12:09 p.m.