A data.frame containing population estimates for all the Mexican municipios in 2020
df_mxmunicipio_2020
An object of class tbl_df
(inherits from tbl
, data.frame
) with 2469 rows and 17 columns.
INEGI code of each state
INEGI code of each municipio
INEGI code of the state
short state name (e.g. Coahuila)
Official state name (e.g. Coahuila de Zaragoza)
state abbreviation
official state abbreviation (it can be awkward to use Chis for Chiapas) according to the INEGI.
official name of each municipio
2015, the year of the Conteo from which the data is sourced
total municipio population according to the Censo 2020
male population according to the Censo 2020
female population according to the Censo 2020
afromexican population according to the Censo 2020
Number of persons who speak an indigenous language according to the Censo 2020
longitude of the localidad cabecera of each municipio
latitude of the localidad cabecera of each municipio
Population estimates taken from the Censo 2020. 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
data("df_mxmunicipio_2020")
head(df_mxmunicipio_2020)
#> # A tibble: 6 × 17
#> state_code municipio_code region state_name state_name_official state_abbr
#> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 01 001 01001 Aguascalientes Aguascalientes AGS
#> 2 01 002 01002 Aguascalientes Aguascalientes AGS
#> 3 01 003 01003 Aguascalientes Aguascalientes AGS
#> 4 01 004 01004 Aguascalientes Aguascalientes AGS
#> 5 01 005 01005 Aguascalientes Aguascalientes AGS
#> 6 01 006 01006 Aguascalientes Aguascalientes AGS
#> # ℹ 11 more variables: state_abbr_official <chr>, municipio_name <chr>,
#> # year <dbl>, pop <int>, pop_male <int>, pop_female <int>, afromexican <int>,
#> # indigenous_language <int>, metro_area <chr>, long <dbl>, lat <dbl>