Skip to contents

A data.frame containing population estimates for all the Mexican municipios in 2025

Usage

df_mxmunicipio_2025

Format

An object of class data.frame with 2478 rows and 17 columns.

Details

state_code

INEGI code of each state

municipio_code

INEGI code of each municipio

region

INEGI code of the state

state_name

short state name (e.g. Coahuila)

state_name_official

Official state name (e.g. Coahuila de Zaragoza)

state_abbr

state abbreviation

state_abbr_official

official state abbreviation (it can be awkward to use Chis for Chiapas) according to the INEGI.

municipio_name

official name of each municipio

year

2015, the year of the Conteo from which the data is sourced

pop

total municipio population according to the EIC 2025

pop_male

male population according to the EIC 2025

pop_female

female population according to the EIC 2025

afromexican

afromexican population according to the EIC 2025

indigenous

Number of persons describe themselves as indigenous according to the EIC 2025

long

longitude of the localidad cabecera of each municipio

lat

latitude of the localidad cabecera of each municipio

References

Population estimates taken from the EIC 2025. The latitude and longitude of the localidad cabecera of each municipio come from the Catálogo Único de Claves de Áreas Geoestadísticas Estatales, Municipales y Localidades 2026/AGO The metro areas come from Las metrópolis de México, 2020. Tipificación de municipios CONAPO

Examples

data("df_mxmunicipio_2025")
head(df_mxmunicipio_2025)
#>   state_code municipio_code region     state_name state_name_official
#> 1          1              1  01001 Aguascalientes      Aguascalientes
#> 2          1              2  01002 Aguascalientes      Aguascalientes
#> 3          1              3  01003 Aguascalientes      Aguascalientes
#> 4          1              4  01004 Aguascalientes      Aguascalientes
#> 5          1              5  01005 Aguascalientes      Aguascalientes
#> 6          1              6  01006 Aguascalientes      Aguascalientes
#>   state_abbr state_abbr_official      municipio_name year     pop pop_male
#> 1        AGS                Ags.      Aguascalientes 2025 1025505   491035
#> 2        AGS                Ags.            Asientos 2025   53631    25691
#> 3        AGS                Ags.            Calvillo 2025   55794    26894
#> 4        AGS                Ags.               Cosío 2025   17504     8276
#> 5        AGS                Ags.         Jesús María 2025  147302    71905
#> 6        AGS                Ags. Pabellón de Arteaga 2025   49372    23697
#>   pop_female afromexican indigenous     metro_area      long      lat
#> 1     534470        6666      46455 Aguascalientes -102.2960 21.87982
#> 2      27940         499       2113           <NA> -102.0893 22.23832
#> 3      28900         385       1612           <NA> -102.7188 21.84691
#> 4       9228          81        805           <NA> -102.3000 22.36641
#> 5      75397        1105       7439 Aguascalientes -102.3434 21.96127
#> 6      25675         267       2222           <NA> -102.2765 22.14920