epa2005: Download data from the Encuesta de Población Activa (EPA)

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

This function downloads the data from the Spanish Active Population Survey using the information provided by the Spanish Statistical Office (INE).

Usage

1

Arguments

file

Character string with the name of the microdata file provided by the INE on the EPA section. It allows either a path to a file, or literal data (single string or raw vector). It also allows compressed files in .gz, .bz2, .xz, or .zip format.

Details

This function reads microdata from the quarterly Active Population Survey in Spain. It was originally built using the metadata for 2005 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

References

http://www.ine.es/prodyser/microdatos.htm

See Also

readr to read fixed width files.

Examples

1
2
3
4
5
## Not run: 
raw <- epa2005("EPA4T017")
summary(raw)

## End(Not run)

rOpenSpain/MicroDatosEs documentation built on May 12, 2019, 7:36 a.m.