Learn R Programming

rtip (version 1.1.1)

loadLCS: Load the living conditions survey (INE)

Description

loadLCS() loads the living conditions survey from Spanish National Statistics Institute (INE in Spanish).

Usage

loadLCS(lcs_d_file, lcs_h_file)

Arguments

lcs_d_file,

a string with the filename of D-file.

lcs_h_file,

a string with the filename of H-file.

Value

A data frame containing the variables required.

Details

Regularly the INE releases the living conditions survey through two different files which can be downloaded for free. The filename of these files contains the letters D and H, and these files include dozens of variables. Only some of these variables are needed to do the calculations with rtip package.

Examples

Run this code
# NOT RUN {
lcs2014 <- loadLCS("esudb14d.csv","esudb14h.csv")
# }

Run the code above in your browser using DataLab