enaho_clean | R Documentation |
Create a tidy data from ENAHO
enaho_clean(.enaho_data)
.enaho_data |
ENAHO database |
Clean data from ENAHO and prepare for a panel data
Standard data cleaning
Jhon Flores Rojas
# library(tidyverse) library(PeruData) library(haven) years <- c("2010", "2019") mod <- c("01", "03", "05", "85") # inei_enaho(mod, years) #not run example #enaho_2018 <- haven::read_dta(here::here("enaho/modulo 01/enaho_2019.dta")) #enaho_2018 |> # enaho_clean()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.