inei_enaho: Download ENAHO from INEE database

View source: R/inei_enaho.R

inei_enahoR Documentation

Download ENAHO from INEE database

Description

Download ENAHO datasets from INEI database

Usage

inei_enaho(.mod, .year, .tp = "stata", .trash = c("tabla", "otro", "dic"))

Arguments

.mod

Surveys (module) to download from the National Household Survey - Peru

.year

Years of surveyss to download

.tp

File extension c("stata", "spss", "csv") for years greater than 2019 csv is available

.trash

Not relevant files

Details

Download data and sort into separate folders

Value

A "solo-data" forder with datasets

Author(s)

Jhon Flores Rojas

Examples

#library(tidyverse)
library(PeruData)
years <- c("2010", "2019")
mod <- c("01", "03", "05", "85")
# inei_enaho(mod, years) #not run example

TJhon/PeruData documentation built on March 30, 2022, 8:26 p.m.