eph

Herramientas para procesamiento de la base usuaria de la EPH

https://github.com/ropensci/eph

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary

Keywords

eph indec mercado-de-trabajo rstats rstatses
Last synced: 6 months ago · JSON representation

Repository

Herramientas para procesamiento de la base usuaria de la EPH

Basic Info
Statistics
  • Stars: 59
  • Watchers: 11
  • Forks: 17
  • Open Issues: 5
  • Releases: 6
Topics
eph indec mercado-de-trabajo rstats rstatses
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Codemeta

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  warning = FALSE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# eph 


[![R build status](https://github.com/holatam/eph/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/eph/actions)
[![Coverage
status](https://codecov.io/gh/holatam/eph/branch/master/graph/badge.svg)](https://app.codecov.io/gh/holatam/eph?branch=master)
[![CRAN status](https://www.r-pkg.org/badges/version/eph)](https://cran.r-project.org/package=eph)
[![](http://cranlogs.r-pkg.org/badges/grand-total/eph?color=blue)](https://cran.r-project.org/package=eph)
[![](http://cranlogs.r-pkg.org/badges/last-month/eph?color=blue)](https://cran.r-project.org/package=eph)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8352221.svg)](https://doi.org/10.5281/zenodo.8352221)




# Caja de Herramientas para el procesamiento de la Encuesta Permanente de Hogares

## Descripción

Si querés procesar datos de la [Encuesta Permanente de Hogares (EPH) elaborada por el Instituto Nacional de Estadística y Censos de la República Argentina (INDEC)](https://www.indec.gob.ar/bases-de-datos.asp)  mediante el lenguaje de programación [R](https://www.r-project.org/), la librería `eph` tiene por objeto facilitar tu trabajo.

El paquete cumple un rol fundamental en la democratización de la posibilidad de procesar los datos publicados por INDEC y así obtener conclusiones independientes de aquellas publicadas en los informes elaborados por el organismo. Dado que la información de la EPH constituye una de las principales fuentes para el análisis de las problemáticas sociales presentes en Argentina, el paquete no sólo posibilita investigaciones académicas y periodísticas, sino que también contribuye a la formulación de políticas públicas fundamentadas en evidencia.


Algunas de sus funciones son:

- **`get_microdata()`**: Descarga las bases de microdatos,

- **`organize_panels()`**: Permite armar un pool de datos en panel de la EPH continua,

- **`organize_cno()`**: Clasifica las ocupaciones según el Clasificador Nacional de Ocupaciones (CNO) 2001

- **`organize_caes()`**: Clasifica las actividades económicas según el Clasificador de Actividades Economicas para encuestas Sociodemograficas (CAES) Mercosur 1.0 y el CAES Mercosur

- **`organize_labels()`**: Etiqueta las bases siguiendo el último [diseño de registro](https://www.indec.gob.ar/ftp/cuadros/menusuperior/eph/EPH_registro_t218.pdf)

- **`map_agglomerates()`**: Mapa de indicadores por aglomerado


El paquete también cuenta con dataframes útiles para el trabajo con la EPH. Algunos de estos son:

- **`diccionario_regiones`**: Diccionario de regiones según el diseño de registro de la EPH

- **`diccionario_aglomerados`**: Diccionario de aglomerados según el diseño de registro de la EPH

- **`centroides_aglomerados`**: Tabla de centroides de los aglomerados (basado en https://www.indec.gob.ar/indec/web/Nivel4-Tema-1-39-120)

- **`adulto_equivalente`**: Tabla de valores de adulto equivalente segun sexo y edad ([ver definición mtodológica](https://www.indec.gob.ar/ftp/cuadros/sociedad/preguntas_frecuentes_cba_cbt.pdf))

## Instalación


Para descargar la versión estable desde CRAN:

```{r, eval = FALSE}
install.packages("eph")
```

Para descargar desde R-universe:

```{r, eval = FALSE}
install.packages("eph", repos = "https://ropensci.r-universe.dev")
```


Para la versión en desarrollo: 

```{r, eval = FALSE}
# install.packages('devtools')
# si no tiene instalado devtools

devtools::install_github("holatam/eph")
```

## Modo de uso

Ejemplo de descarga de microdatos

```{r}
# Cargo la libreria
library(eph)

base_individual <- get_microdata(
  year = 2018:2019, # especifco el año
  trimester = 1, # el trimestre
  type = "individual", # y el tipo de base
  vars = c("PONDERA", "ESTADO", "CAT_OCUP")
) # opcionalmente, puedo especificar las variables que deseo utilizar.

base_individual
```

## Cómo citar este paquete

Podés citar este paquete como "se obtuvieron y/o normalizaron los datos de la Encuesta Permanente de Hogares (EPH-INDEC) utilizando el paquete de R 'eph' (Kozlowski et al, 2020)".   
   
La referencia completa para incluir en la bibliografía es:   
   
```
Carolina Pradier, Guido Weksler, Pablo Tiscornia, Natsumi Shokida, Germán Rosati, & Diego Kozlowski. (2023). ropensci/eph V1.0.0 (1.0.0). Zenodo. https://doi.org/10.5281/zenodo.8352221
```

Si necesitás la entrada bib: 

```bib

@software{carolina_pradier_2023_8352221,
  author       = {Carolina Pradier and
                  Guido Weksler and
                  Pablo Tiscornia and
                  Natsumi Shokida and
                  Germán Rosati and
                  Diego Kozlowski},
  title        = {ropensci/eph V1.0.0},
  month        = sep,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {1.0.0},
  doi          = {10.5281/zenodo.8352221},
  url          = {https://doi.org/10.5281/zenodo.8352221}
}
  
```


## Aportes de la comunidad

Este paquete se propone incorporar cualquier función de propósitos generales que utilice como base los datos de la Encuesta Permanente de Hogares. Todos los aportes en este sentido son bienvenidos.

Si trabajas con la EPH y querés agregar tu función, te recomendamos que leas los siguientes [consejos](https://github.com/ropensci/eph/blob/master/docs/CONTRIBUTING.md) sobre cómo como colaborar

Owner

  • Name: rOpenSci
  • Login: ropensci
  • Kind: organization
  • Email: info@ropensci.org
  • Location: Berkeley, CA

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "eph",
  "description": "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.",
  "name": "eph: Argentina's Permanent Household Survey Data and Manipulation Utilities",
  "codeRepository": "https://github.com/ropensci/eph",
  "issueTracker": "https://github.com/ropensci/eph/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "1.0.2",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.3.1 (2023-06-16)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Carolina",
      "familyName": "Pradier",
      "email": "carolinapradier@gmail.com",
      "@id": "https://orcid.org/0009-0007-5058-6352"
    },
    {
      "@type": "Person",
      "givenName": "Diego",
      "familyName": "Kozlowski",
      "email": "diegokoz92@gmail.com",
      "@id": "https://orcid.org/0000-0002-5396-3471"
    },
    {
      "@type": "Person",
      "givenName": "Pablo",
      "familyName": "Tiscornia",
      "email": "pablotisco@gmail.com"
    },
    {
      "@type": "Person",
      "givenName": "Guido",
      "familyName": "Weksler",
      "email": "guidowe45@gmail.com"
    },
    {
      "@type": "Person",
      "givenName": "Natsumi",
      "familyName": "Shokida",
      "email": "natsumi.shokida@gmail.com"
    },
    {
      "@type": "Person",
      "givenName": "German",
      "familyName": "Rosati",
      "email": "german.rosati@gmail.com",
      "@id": "https://orcid.org/0000-0002-9775-0435"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Juan Gabriel",
      "familyName": "Juara",
      "email": "jg.juara@gmail.com"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Carolina",
      "familyName": "Pradier",
      "email": "carolinapradier@gmail.com",
      "@id": "https://orcid.org/0009-0007-5058-6352"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "lubridate",
      "name": "lubridate",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=lubridate"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "readr",
      "name": "readr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=readr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "forcats",
      "name": "forcats",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=forcats"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "httptest",
      "name": "httptest",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=httptest"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "dplyr",
      "name": "dplyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=dplyr"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "expss",
      "name": "expss",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=expss"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "purrr",
      "name": "purrr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=purrr"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "tibble",
      "name": "tibble",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tibble"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "stringr",
      "name": "stringr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=stringr"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "readxl",
      "name": "readxl",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=readxl"
    },
    "7": {
      "@type": "SoftwareApplication",
      "identifier": "tidyr",
      "name": "tidyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tidyr"
    },
    "8": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "9": {
      "@type": "SoftwareApplication",
      "identifier": "zoo",
      "name": "zoo",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=zoo"
    },
    "10": {
      "@type": "SoftwareApplication",
      "identifier": "leaflet",
      "name": "leaflet",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=leaflet"
    },
    "11": {
      "@type": "SoftwareApplication",
      "identifier": "htmltools",
      "name": "htmltools",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=htmltools"
    },
    "12": {
      "@type": "SoftwareApplication",
      "identifier": "rlang",
      "name": "rlang",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rlang"
    },
    "13": {
      "@type": "SoftwareApplication",
      "identifier": "stats",
      "name": "stats"
    },
    "14": {
      "@type": "SoftwareApplication",
      "identifier": "cli",
      "name": "cli",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=cli"
    },
    "15": {
      "@type": "SoftwareApplication",
      "identifier": "httr",
      "name": "httr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=httr"
    },
    "16": {
      "@type": "SoftwareApplication",
      "identifier": "curl",
      "name": "curl",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=curl"
    },
    "17": {
      "@type": "SoftwareApplication",
      "identifier": "tidyselect",
      "name": "tidyselect",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tidyselect"
    },
    "18": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 2.10"
    },
    "SystemRequirements": null
  },
  "fileSize": "1072.797KB",
  "citation": [
    {
      "@type": "SoftwareSourceCode",
      "datePublished": "2020",
      "author": [
        {
          "@type": "Person",
          "givenName": "Diego",
          "familyName": "Kozlowski"
        },
        {
          "@type": "Person",
          "givenName": "Pablo",
          "familyName": "Tiscornia"
        },
        {
          "@type": "Person",
          "givenName": "Guido",
          "familyName": "Weksler"
        },
        {
          "@type": "Person",
          "givenName": "German",
          "familyName": "Rosati"
        },
        {
          "@type": "Person",
          "givenName": "Natsumi",
          "familyName": "Shokida"
        }
      ],
      "name": "eph: Argentina's Permanent Household Survey Data and Manipulation Utilities",
      "identifier": "10.5281/zenodo.3462677",
      "url": "https://github.com/ropensci/eph",
      "@id": "https://doi.org/10.5281/zenodo.3462677",
      "sameAs": "https://doi.org/10.5281/zenodo.3462677"
    }
  ],
  "releaseNotes": "https://github.com/ropensci/eph/blob/master/NEWS.md",
  "readme": "https://github.com/ropensci/eph/blob/master/README.md",
  "contIntegration": [
    "https://github.com/ropensci/eph/actions",
    "https://app.codecov.io/gh/holatam/eph?branch=master"
  ],
  "keywords": [
    "rstats",
    "rstatses",
    "eph",
    "indec",
    "mercado-de-trabajo"
  ],
  "relatedLink": "https://CRAN.R-project.org/package=eph"
}

GitHub Events

Total
  • Issues event: 3
  • Watch event: 1
  • Pull request event: 1
Last Year
  • Issues event: 3
  • Watch event: 1
  • Pull request event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • enadianet (3)
  • fmgarciadiaz (1)
  • github-actions[bot] (1)
Pull Request Authors
  • github-actions[bot] (1)
  • olivroy (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 638 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 13
  • Total maintainers: 1
cran.r-project.org: eph

Argentina's Permanent Household Survey Data and Manipulation Utilities

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 638 Last month
Rankings
Forks count: 5.3%
Stargazers count: 6.6%
Average: 20.6%
Downloads: 25.7%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • assertthat * imports
  • attempt * imports
  • curl * imports
  • dplyr * imports
  • expss * imports
  • glue * imports
  • htmltools * imports
  • janitor * imports
  • leaflet * imports
  • magrittr * imports
  • purrr * imports
  • readr * imports
  • readxl * imports
  • rlang * imports
  • rvest * imports
  • stats * imports
  • stringr * imports
  • tibble * imports
  • tidyr * imports
  • tidyverse * imports
  • utils * imports
  • xml2 * imports
  • zoo * imports
  • covr * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • lubridate * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/pkgcheck.yaml actions
  • ropensci-review-tools/pkgcheck-action main composite