The Dataset

THE DATASET

Photo of the Los Angeles skyline with the Santa Monica Mountain range behind. Image taken from Californiathroughmylense.com.

This project uses the Crime Data from 2020 to Present dataset provided by the Los Angeles Police Department (LAPD) through the Los Angeles Open Data Portal. The dataset contains reported crime incidents across the City of Los Angeles, with each row representing a single crime report. The data includes information on when and where crimes occurred, the type of crime committed, the victim’s characteristics, and contextual details such as the location type and weapon used.

The dataset currently contains over one million crime records and 28 variables, covering incidents reported between 2020 and 2025. Geographic information is provided as latitude and longitude coordinates, enabling spatial analysis and mapping of crime patterns across Los Angeles.

Because the data is transcribed from original police reports, some fields may contain missing values or small inaccuracies. To protect privacy, addresses are rounded to the nearest hundred block rather than exact locations.

In March 2024, the LAPD transitioned to a new National Incident-Based Reporting System (NIBRS) compliant records system. As a result, this dataset will remain available for historical analysis but will not receive additional updates moving forward.

VariableAPI NameDescriptionType
DR_NOdr_noDivision of Records number (year + area ID + unique digits)Text
Date Reporteddate_rptdDate the crime was reportedTimestamp
Date Occurreddate_occDate the crime occurredTimestamp
Time Occurredtime_occTime crime occurred (24-hour format)Text
AreaareaLAPD geographic area number (1–21)Text
Area Namearea_nameName of the LAPD patrol divisionText
Reporting Districtrpt_dist_noSub-area within a geographic division used for statistical comparisonsText
Crime Categorypart_1_2Indicates whether crime is Part 1 or Part 2Number
Crime Codecrm_cdCode identifying the crime committedText
Crime Descriptioncrm_cd_descDescription of the crime codeText
MO CodesmocodesModus operandi codes describing suspect actionsText
Victim Agevict_ageAge of victimText
Victim Sexvict_sexSex of victim (F, M, X)Text
Victim Descentvict_descentVictim ethnicity/descent codeText
Premise Codepremis_cdType of location where crime occurredNumber
Premise Descriptionpremis_descDescription of the premise codeText
Weapon Codeweapon_used_cdCode for weapon usedText
Weapon Descriptionweapon_descDescription of weapon usedText
Case StatusstatusCurrent status of the caseText
Status Descriptionstatus_descDescription of case statusText
Primary Crime Codecrm_cd_1Most serious offense in incidentText
Secondary Crime Codecrm_cd_2Additional offense (less serious)Text
Third Crime Codecrm_cd_3Additional offense (less serious)Text
Fourth Crime Codecrm_cd_4Additional offense (less serious)Text
LocationlocationRounded street address (100 block)Text
Cross Streetcross_streetCross street of incidentText
LatitudelatLatitude coordinate of crimeNumber
LongitudelonLongitude coordinate of crimeNumber