loadLCS: Load the living conditions survey (INE)

Description Usage Arguments Details Value Note Author(s) Examples

Description

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

Usage

1
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.

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.

Value

A data frame containing the variables required.

Note

We have included two files in dat-raw to test the function (source version package only).

Author(s)

A. Berihuete, C.D. Ramos and M.A. Sordo

Examples

1
## Not run: lcs2014 <- loadLCS("esudb14d.csv","esudb14h.csv")

AngelBerihuete/rtip documentation built on June 26, 2019, 2:02 p.m.