CityTapNYC Open Data on tap

Back to all datasets

2016 - 2017 School Safety Report

Department of Educationrear-wh5iEducation

Since 1998, the New York City Police Department (NYPD) has been tasked with the collection and maintenance of crime data for incidents that occur in New York City public schools. The NYPD has provided this data to the New York City Department of Education (DOE). The DOE has compiled this data by schools and locations for the information of our parents and students, our teachers and staff, and the general public. In some instances, several Department of Education learning communities co-exist within a single building. In other instances, a single school has locations in several different buildings. In either of these instances, the data presented here is aggregated by building location rather than by school, since safety is always a building-wide issue. We use “consolidated locations” throughout the presentation of the data to indicate the numbers of incidents in buildings that include more than one learning community.

Open at the source

Open in the graph · Relate this dataset · What these columns mean

Freshness

The publisher's promise

How the agency that publishes this data says it keeps the data current.

Dormant

Says it updates
Historical data
Actually updates about every
—
Publisher last updated the data
Oct 9, 2018

Our mirror

Whether our copy of this data is current with the source.

In sync

We last synced
Aug 12, 2019, 6:09 PM
Rows in our copy
2,046
Rows at the source
2,046
Our copy trails the source by
under a minute

Columns

Each source column, with the name and type we use to store it.

The publisher has not provided a data dictionary.

5 of 38 columns carry a concept; 0 carry a description from the publisher. Read the concept column before you join. A column with no concept carries no claim from us, and a name that looks like a key is not one.

Each source column, with the name and type we use to store it.
Source fieldDisplay nameWhat the publisher says it isConceptSource typeStored asStored typeRow identifierUnit
postcode
Postcode
The publisher describes this column nowhere.zipdeclaredNumber
postcode
numeric
empty
rangea
RangeA
The publisher describes this column nowhere.Not boundText
rangea
text
empty
census_tract
Census Tract
The publisher describes this column nowhere.Not boundNumber
census_tract
numeric
empty
avgofvio_n
AvgOfVio N
The publisher describes this column nowhere.Not boundText
avgofvio_n
text
empty
prop_n
Prop N
The publisher describes this column nowhere.Not boundText
prop_n
text
empty
oth_n
Oth N
The publisher describes this column nowhere.Not boundText
oth_n
text
empty
schools_in_building
Schools in Building
The publisher describes this column nowhere.Not boundText
schools_in_building
text
empty
geocode
Geocode
The publisher describes this column nowhere.Not boundPoint
geocode
text
empty
avgofprop_n
AvgOfProp N
The publisher describes this column nowhere.Not boundText
avgofprop_n
text
empty
:@computed_region_sbqj_enih
Police Precincts
The publisher describes this column nowhere.Not boundNumber
:@computed_region_sbqj_enih
numeric
empty
:@computed_region_yeji_bk3q
Borough Boundaries
The publisher describes this column nowhere.Not boundNumber
:@computed_region_yeji_bk3q
numeric
empty
:@computed_region_92fq_4b7q
City Council Districts
The publisher describes this column nowhere.Not boundNumber
:@computed_region_92fq_4b7q
numeric
empty
:@computed_region_f5dn_yrer
Community Districts
The publisher describes this column nowhere.Not boundNumber
:@computed_region_f5dn_yrer
numeric
empty
building_name
Building Name
The publisher describes this column nowhere.Not boundText
building_name
text
empty
community_board
Community Board
The publisher describes this column nowhere.Not boundNumber
community_board
numeric
empty
geographical_district_code
Geographical District Code
The publisher describes this column nowhere.Not boundText
geographical_district_code
text
empty
register
Register
The publisher describes this column nowhere.Not boundText
register
text
empty
location_code
Location Code
The publisher describes this column nowhere.Not boundText
location_code
text
empty
bbl
BBL
The publisher describes this column nowhere.bbldeclaredNumber
bbl
numeric
empty
engroupa
ENGroupA
The publisher describes this column nowhere.Not boundText
engroupa
text
empty
school_year
School Year
The publisher describes this column nowhere.Not boundText
school_year
text
empty
schools
# Schools
The publisher describes this column nowhere.Not boundText
schools
text
empty
borough
Borough
The publisher describes this column nowhere.boroughdeclaredText
borough
text
empty
nypd_site_code
NYPD Site Code
The publisher describes this column nowhere.Not boundText
nypd_site_code
text
empty
nypd_site_name
NYPD Site Name
The publisher describes this column nowhere.Not boundText
nypd_site_name
text
empty
location_name
Location Name
The publisher describes this column nowhere.Not boundText
location_name
text
empty
nta
NTA
The publisher describes this column nowhere.Not boundText
nta
text
empty
vio_n
Vio N
The publisher describes this column nowhere.Not boundText
vio_n
text
empty
avgofmajor_n
AvgOfMajor N
The publisher describes this column nowhere.Not boundText
avgofmajor_n
text
empty
avgofoth_n
AvgOfOth N
The publisher describes this column nowhere.Not boundText
avgofoth_n
text
empty
avgofnocrim_n
AvgOfNoCrim N
The publisher describes this column nowhere.Not boundText
avgofnocrim_n
text
empty
latitude
Latitude
The publisher describes this column nowhere.Not boundNumber
latitude
numeric
empty
longitude
Longitude
The publisher describes this column nowhere.Not boundNumber
longitude
numeric
empty
:@computed_region_efsh_h5xi
Zip Codes
The publisher describes this column nowhere.Not boundNumber
:@computed_region_efsh_h5xi
numeric
empty
major_n
Major N
The publisher describes this column nowhere.Not boundText
major_n
text
empty
nocrim_n
NoCrim N
The publisher describes this column nowhere.Not boundText
nocrim_n
text
empty
bin
BIN
The publisher describes this column nowhere.bindeclaredNumber
bin
numeric
empty
council_district
Council District
The publisher describes this column nowhere.council_districtdeclaredNumber
council_district
numeric
empty

Download

This file was produced on Aug 27, 2026, 10:05 PM.

Use the API

These are the exact calls for this dataset, against the host you are reading this on. Each one answers JSON, needs no key, and is rate-limited.

Canonical metadata, both freshness axes, columns, attribution, lineage.

curl https://citytap-web-citytap-prod.codenow.nyc/api/datasets/rear-wh5i

Ranked, dimension-tag-confirmed relatives of one dataset.

curl https://citytap-web-citytap-prod.codenow.nyc/api/datasets/rear-wh5i/partners

Up to 50 distinct sample values of one named column. Not a raw-rows dump.

curl 'https://citytap-web-citytap-prod.codenow.nyc/api/rows/rear-wh5i?column=postcode'

A CSV sample of up to 1,000 rows, honest about being a sample.

curl https://citytap-web-citytap-prod.codenow.nyc/api/export/rear-wh5i/csv

Redirect to the dataset's newest curated parquet object.

curl https://citytap-web-citytap-prod.codenow.nyc/api/export/rear-wh5i

Known defect: the presigned URL currently resolves only inside the cluster. Use the /csv sibling until the presign is public.

Refresh this dataset

600 refresh slots are open this hour. Anyone can use them — no account needed.

Source and attribution

Where this data comes from, which version we hold, and what we changed.

Source
https://data.cityofnewyork.us/d/rear-wh5i
Version
Content hash: 01bcc18828dbd9585369500d24472dce362af899197f29bc1754af0d979ec34c
What we changed
We did not change the data. We stored it as published.
Publisher
codenownyc
We retrieved it
Aug 12, 2019, 6:09 PM

Update history

Update history
StartedKindResultRows writtenProduced by
Aug 27, 2026, 4:16 AMfull_replacesuccess2,046
codenow-nycmesh-container-oci.jfrog.io/codenow/citytap-pull:0.1.73