loadLCS {rtip} | R Documentation |
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 |
lcs_h_file |
a string with the filename of |
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
## Not run: lcs2014 <- loadLCS("esudb14d.csv","esudb14h.csv")
[Package rtip version 1.1.1 Index]