Package 'popmex'

Title: Population Density Mexico
Description: The goal of the popmex package is to provide spatial population dataset at different levels of resolution.
Authors: Felipe Antonio Dzul Manzanilla [aut, cre] (ORCID: <https://orcid.org/0000-0002-2085-9141>), Cecilia Cruz López [aut] (ORCID: //orcid.org/0000-0002-9156-5669), Emmanuel Morales García [aut] (ORCID: <https://orcid.org/0000-0002-6837-9227>), Fabian Correa-Morales [ctb] (ORCID: <https://orcid.org/0000-0002-6193-1242>)
Maintainer: The package maintainer <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2026-04-01 19:09:20 UTC
Source: https://github.com/fdzul/popmex

Help Index


extracts the population density at the locality level in hexagons of 400 meters resolution for the years 2023 and 2022

Description

extracts the population density at the locality level in hexagons of 400 meters resolution for the years 2023 and 2022

Usage

extract_pop(year, cve_edo, locality)

Arguments

year

is the year dataset

cve_edo

is the id of state.

locality

is the target locality.

Value

a sf object

Author(s)

Felipe Antonio Dzul Manzanilla [email protected].

Examples

popmex::extract_pop(year = 2023, cve_edo = "31", locality = "Merida")

Population Density Mexico HDX data 2021

Description

A subset of data from the HUMANITARIAN DATA EXCHANGE Population Density of Mexico dataset ...

Usage

hdx_pop2021

Format

## 'hdx_pop2021' A sf & data frame with 362028 rows and 2 columns:

popolation

Population Density for 400m H3 Hexagons

geom

geometry

...

Details

EPSG 4326...

Source

<https://data.humdata.org/dataset/kontur-population-dataset>


Population Density Mexico HDX data 2022

Description

A subset of data from the HUMANITARIAN DATA EXCHANGE Population Density of Mexico dataset ...

Usage

hdx_pop2022

Format

## 'hdx_pop2022' A sf & data frame with 463830 rows and 3 columns:

h3

id of hexagon

popolation

Population Density for 400m H3 Hexagons

geom

geometry

...

Source

<https://data.humdata.org/dataset/kontur-population-mexico?>


Population Density Mexico HDX data 2023

Description

A subset of data from the HUMANITARIAN DATA EXCHANGE Population Density of Mexico dataset ...

Usage

hdx_pop2023

Format

## 'hdx_pop2023' A sf & data frame with 456514 rows and 3 columns:

h3

id of hexagon

popolation

Population Density for 400m H3 Hexagons

geom

geometry

...

Details

EPSG 4326...

Source

<https://data.humdata.org/dataset/kontur-population-mexico?>


population by municipality (ITER 2000).

Description

a dataset of population by municipality of mexico. dataset ...

Usage

pop2000

Format

## 'pop2000' A data frame with 2443 rows and 4 columns:

CVEGEO

id of the municipality.

pobtot

population

pobfem

female population

pobmas

male population

...

Details

The population data by total number and sex for each municipality were obtained from the dataset of territorial indicators known as ITER /(Indicadores Territoriales/), which is a database derived from the 2020 Population and Housing Census generated by Instituto Nacional de Estadística y Geografía (INEGI)

Source

<https://www.inegi.org.mx/app/scitel/Default?ev=9>


population by municipality (ITER 2010).

Description

a dataset of population by municipality of mexico. dataset ...

Usage

pop2010

Format

## 'pop2010' A data frame with 2456 rows and 44 columns:

CVEGEO

id of the municipality.

pobtot

population

pobfem

female population

pobmas

male population

p_0a2

population between 0 and 2 years of age

p_0a2_f

female population between 0 and 2 years of age

p_0a2_m

male population between 0 and 2 years of age

p_3ymas

population over 3 years of age

p_3ymas_f

female population over 3 years of age

p_3ymas_m

male population over 3 years of age

p_5ymas

population over 5 years of age

p_5ymas_f

female population over 5 years of age

p_5ymas_m

male population over 5 years of age

p_12ymas

population over 12 years of age

p_12ymas_f

female population over 12 years of age

p_12ymas_m

male population over 12 years of age

p_15ymas

population over 15 years of age

p_15ymas_f

female population over 15 years of age

p_15ymas_m

male population over 15 years of age

p_18ymas

population over 18 years of age

p_18ymas_f

female population over 18 years of age

p_18ymas_m

male population over 18 years of age

p_3a5

population between 3 and 5 years of age

p_3a5_f

female population between 3 and 5 years of age

p_3a5_m

male population between 3 and 5 years of age

p_6a11

population between 6 and 11 years of age

p_6a11_f

female population between 6 and 11 years of age

p_6a11_m

male population between 6 and 11 years of age

p_8a14

population between 8 and 14 years of age

p_8a14_f

female population between 8 and 14 years of age

p_8a14_m

male population between 8 and 14 years of age

p_12a14

population between 12 and 14 years of age

p_12a14_f

female population between 12 and 14 years of age

p_12a14_m

male population between 12 and 14 years of age

p_15a17

population between 15 and 17 years of age

p_15a17_f

female population between 15 and 17 years of age

p_15a17_m

male population between 15 and 17 years of age

p_18a24

population between 18 and 24 years of age

p_18a24_f

female population between 18 and 24 years of age

p_18a24_m

male population between 18 and 24 years of age

p_15a49_f

female population between 15 and 49 years of age

p_60ymas

population over 60 years of age

p_60ymas_f

female population over 60 years of age

p_60ymas_m

male population over 60 years of age

...

Details

The population data by total number and sex for each municipality were obtained from the dataset of territorial indicators known as ITER /(Indicadores Territoriales/), which is a database derived from the 2020 Population and Housing Census generated by Instituto Nacional de Estadística y Geografía (INEGI)

Source

<https://www.inegi.org.mx/app/scitel/Default?ev=9>


population by municipality (ITER 2020).

Description

a dataset of population by municipality of mexico. dataset ...

Usage

pop2020

Format

## 'pop2020' A data frame with 2469 rows and 44 columns:

CVEGEO

id of the municipality.

pobtot

population

pobfem

female population

pobmas

male population

p_0a2

population between 0 and 2 years of age

p_0a2_f

female population between 0 and 2 years of age

p_0a2_m

male population between 0 and 2 years of age

p_3ymas

population over 3 years of age

p_3ymas_f

female population over 3 years of age

p_3ymas_m

male population over 3 years of age

p_5ymas

population over 5 years of age

p_5ymas_f

female population over 5 years of age

p_5ymas_m

male population over 5 years of age

p_12ymas

population over 12 years of age

p_12ymas_f

female population over 12 years of age

p_12ymas_m

male population over 12 years of age

p_15ymas

population over 15 years of age

p_15ymas_f

female population over 15 years of age

p_15ymas_m

male population over 15 years of age

p_18ymas

population over 18 years of age

p_18ymas_f

female population over 18 years of age

p_18ymas_m

male population over 18 years of age

p_3a5

population between 3 and 5 years of age

p_3a5_f

female population between 3 and 5 years of age

p_3a5_m

male population between 3 and 5 years of age

p_6a11

population between 6 and 11 years of age

p_6a11_f

female population between 6 and 11 years of age

p_6a11_m

male population between 6 and 11 years of age

p_8a14

population between 8 and 14 years of age

p_8a14_f

female population between 8 and 14 years of age

p_8a14_m

male population between 8 and 14 years of age

p_12a14

population between 12 and 14 years of age

p_12a14_f

female population between 12 and 14 years of age

p_12a14_m

male population between 12 and 14 years of age

p_15a17

population between 15 and 17 years of age

p_15a17_f

female population between 15 and 17 years of age

p_15a17_m

male population between 15 and 17 years of age

p_18a24

population between 18 and 24 years of age

p_18a24_f

female population between 18 and 24 years of age

p_18a24_m

male population between 18 and 24 years of age

p_15a49_f

female population between 15 and 49 years of age

p_60ymas

population over 60 years of age

p_60ymas_f

female population over 60 years of age

p_60ymas_m

male population over 60 years of age

...

Details

The population data by total number and sex for each municipality were obtained from the dataset of territorial indicators known as ITER /(Indicadores Territoriales/), which is a database derived from the 2020 Population and Housing Census generated by Instituto Nacional de Estadística y Geografía (INEGI)

Source

<https://www.inegi.org.mx/app/scitel/Default?ev=9>