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

df_mxmunicipio_2020

Format

An object of class tbl_df (inherits from tbl, data.frame) with 2469 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 Censo 2020

pop_male

male population according to the Censo 2020

pop_female

female population according to the Censo 2020

afromexican

afromexican population according to the Censo 2020

indigenous_language

Number of persons who speak an indigenous language according to the Censo 2020

long

longitude of the localidad cabecera of each municipio

lat

latitude of the localidad cabecera of each municipio

References

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

Examples

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>