ees2010 {MicroDatosEs} | R Documentation |
Download data from the Encuesta de Estructura Salarial (EES)
Description
This function downloads data from the Spanish Survey of Salary Structure using the information provided by the Spanish Statistical Office (INE).
Usage
ees2010(file)
Arguments
file |
Character string with the name of the microdata file provided by the INE on the
EES section. It allows either a path to a file,
or literal data (single string or raw vector). It also allows compressed files in |
Details
This function reads microdata from the Survey of Salary Structure in Spain. It was originally built using the metadata for 2010 file but it may be used for later years. Previous files have a different, non compatible, format.
Value
tibble
with all avaliable requested data where each row corresponds to an anonymised citizen.
Note
The file
parameter allows any flat file with fixed width.
Author(s)
Carlos J. Gil Bellosta, with major contributions from José Luis Cañadas Reche
References
http://www.ine.es/prodyser/microdatos.htm
See Also
read_fwf
to read fixed width files.
Examples
## Not run:
raw <- ees2010("datos_2014.zip") # It will be automatically uncompressed.
summary(raw)
## End(Not run)