mexico_2025_q2safety_perception

1,112,407 responses from 23,717 respondents to 53 items.

One of 34 tables from the same source; this one is the 2025_q2safety_perception table. The others are listed under Related tables.

About this table

DescriptionUrban safety perception ratings across Mexican cities, Q2 2025
ReferenceINEGI. Encuesta Nacional de Seguridad Pública Urbana (ENSU) 2025. INEGI
LicenceCustom
Source datahttps://www.inegi.org.mx/programas/ensu/

Size and shape

Responses1,112,407
Respondents23,717
Items53
Response categories4
Responses per respondent46.903
Responses per item20988.811
Density0.885
LongitudinalFALSE

Classification

age rangeAdult (18+)
sampleGeneral/non-specific
construct typeOpinion/attitude
measurement toolSurvey/questionnaire
item formatMixed
primary language(s)spa
construct namePublic Safety Perception

These are classifications the IRW records, not the study’s own words. Some were annotated by hand and some written by an automated tagger whose output is published only where it clears a measured accuracy bar; which values came from which is not recorded per table. Coverage and accuracy per column, and what is held back, are on Tag quality.

Item text

This table has item text in the IRW: the wording administered to respondents, not just the response codes.

InstrumentEncuesta Nacional de Seguridad Pública Urbana (ENSU) 2025, segundo trimestre (INEGI), Cuestionario principal, Sección I. Percepción sobre seguridad pública
Mean words per item5.652
Mean characters per item34.742
Mean characters per response8.727
Flesch-Kincaid grade level8.400

Codebook

This codebook is reconstructed by the IRW from the IRW data standard and the script that built it, mexico_2025_safety.do. It is our best reading, not the source’s own codebook, and it may contain mistakes. Where the two disagree, the source data are the authority. If you find an error, please tell us.

ColumnWhat it isSource column
IRW standard columns
idIRW standard Identifier for the focal unit being measured — typically a person, but sometimes another entity (e.g., a word in a lexical task).made in the build script
itemIRW standard Item identifier.made in the build script
respIRW standard Response value.`var'
Respondent covariates
cov_ageCovariate edad
cov_sexCovariate sexo

What item codes and covariate values stand for is in the source’s codebook, diccionario_de_datos_ensu_cb_0625.csv (inside conjunto_de_datos_ensu_2025_2t_csv.zip), and its questionnaire, ensu2025_trim2_cuest_principal.pdf (inside ensu2025_cuest_principal.zip), which shows the item wording.

Respondent uniqueness. Under 1% of this table’s respondents are alone in their combination of the 2 covariates above — no one else in the table shares it. That is a necessary condition for re-identification and not re-identification itself. The IRW republishes the demographics its sources published and never at finer granularity: see the data standard.

Get the data

Custom licence — check the terms before reuse: Source: INEGI (Instituto Nacional de Estadistica y Geografia, Mexico), Encuesta Nacional de Seguridad Publica Urbana (ENSU). Released under the Terminos de Libre Uso de la Informacion del INEGI (https://www.inegi.org.mx/contenidos/inegi/doc/terminos_info.pdf), which permit reproduction, distribution, adaptation and commercial use with credit to INEGI. This IRW table reformats that information into the IRW data standard; the transformation is the IRW's, not INEGI's, and its publication here does not imply INEGI endorsement. Cite the source as "Fuente: INEGI, ENSU".

Download CSVno account neededBrowse on Redivisexplore and queryCroissant metadataHugging Face, Kaggle, OpenML

Or load it directly in R (no account needed with irw 1.4.0 or later) or Python (needs a free Redivis account; the first call opens a browser to sign in):

# R
install.packages("irw")
library(irw)
df <- irw_fetch("mexico_2025_q2safety_perception")
# Python
pip install irw

import irw
df = irw.fetch("mexico_2025_q2safety_perception")

Or in Stata, which reads the same no-account CSV as the button above:

* Stata
net install irw, from("https://raw.githubusercontent.com/itemresponsewarehouse/Stata-pkg/main/")

irw_fetch mexico_2025_q2safety_perception, clear

How to cite

@misc{INEGI2025,
  author = {INEGI},
  title = {Encuesta Nacional de Seguridad Pública Urbana (ENSU) 2025},
  year = {2025},
  organization = {INEGI},
  url = {https://www.inegi.org.mx/programas/ensu/}
}

Version and provenance

IRW versionv712
Redivis datasetitem_response_warehouse_2 v36.0
Redivis dataset DOI10.57761/cqv8-kp65
Manifest pin for this IRW versionv36.0
Metadata sourceirw_meta v68.0