View source: R/epf.2011.miembros.R
epf.2011.miembros | R Documentation |
This function downloads data from the Spanish Survey of Family Budgets (Members approach) using the information provided by the Spanish Statistical Office (INE).
epf.2011.miembros(file)
file |
Character string with the name of the microdata file provided by the INE on the
EPF section. It allows either a path to a file,
or literal data (single string or raw vector). It also allows compressed files in |
This function reads microdata from the members approach of the Survey of Family Budgets in Spain. It was originally built using the metadata for 2011 file but it may be used for later years. Previous files have a different, non compatible, format.
tibble
with all avaliable requested data where each row corresponds to an anonymised citizen.
The file
parameter allows any flat file with fixed width.
Diego Paniagua Sánchez and Carlos J. Gil Bellosta
http://www.ine.es/prodyser/microdatos.htm
read_fwf
to read fixed width files.
## Not run:
raw <- epf.2011.gastos("sample_miembros_a2011.txt")
summary(raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.