Argentina's Permanent Household Survey Data and Manipulation Utilities
Overview
Tools to download and manipulate the Permanent Household Survey from Argentina (EPH is the Spanish acronym for Permanent Household Survey). e.g: get_microdata() for downloading the datasets, get_poverty_lines() for downloading the official poverty baskets, calculate_poverty() for the calculation of stating if a household is in poverty or not, following the official methodology. organize_panels() is used to concatenate observations from different periods, and organize_labels() adds the official labels to the data. The implemented methods are based on INDEC (2016) http://www.estadistica.ec.gba.gov.ar/dpe/images/SOCIEDAD/EPH_metodologia_22_pobreza.pdf. As this package works with the argentinian Permanent Household Survey and its main audience is from this country, the documentation was written in Spanish.
- better adjusted to CRAN's policy 'Packages which use Internet resources should fail gracefully with an informative message if the resource is not available or has changed (and not give a check warning nor error).'
From NEWS.md in the release
Install
Health
ERRORre-building of vignette outputsr-oldrel-macos-arm64
Error(s) in re-building vignettes:
--- re-building ‘eph.Rmd’ using rmarkdown
trying URL 'https://www.indec.gob.ar/ftp/cuadros/sociedad/serie_cba_cbt.xls'
Quitting from eph.Rmd:222-228 [unnamed-chunk-13]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `UseMethod()`:
! no applicable method for 'select' applied to an object of class "NULL"
---
Backtrace:
▆
1. ├─... %>% ggplot()
2. ├─ggplot2::ggplot(.)
3. ├─tidyr::pivot_longer(...)
4. └─dplyr::select(., -ICE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'eph.Rmd' failed with diagnostics:
no applicable method for 'select' applied to an object of class "NULL"
--- failed re-building ‘eph.Rmd’
--- re-building ‘estimacion_pobreza.Rmd’ using rmarkdown
trying URL 'https://github.com/holatam/data/raw/master/eph/canasta/canastas.rds'
Content type 'application/octet-stream' length 3499 bytes
==================================================
downloaded 3499 bytes
--- finished re-building ‘estimacion_pobreza.Rmd’
SUMMARY: processing the following file failed:
‘eph.Rmd’
Error: Vignette re-building failed.
Execution halted- ERROR12 OK, 1 ERRORNow
- ERROR13 OK, 1 ERROR2026-03-10
Documentation
- Help pages
- 24 (1 internal)
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 92%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 15
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/ropensci/eph on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 4 practices
Dependencies
Installing eph adds 85 packages (48 with compiled code, 79 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Previously maintained by Diego Kozlowski (0.1.0 to 0.4.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.2Latest
- 1.0.12024-06-19 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.0.0
- 0.6.12023-07-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.02023-04-14 · diff ↗
- 0.5.12022-08-29 · diff ↗
- 0.5.0
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.4.02020-06-25 · diff ↗
- 0.3.12020-05-24 · diff ↗ ·
removed 1 export
organize_ocupationsadded 2 exports
organize_caes, organize_cno - RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2019-09-03
- Total releases
- 13 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 589 KB / 11 files
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("eph")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.3462677.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.