This function allows you to download and read ECH from INE website

get_microdata(year = NULL, folder = tempdir(), toR = TRUE)

Arguments

year

allows download data from 2011 to 2019. Default the last year

folder

Folder where are the files or be download

toR

write data frame in R format and delete download file and unpack files

Value

unrar files from INE web and the respective data frame in tibble format

Details

Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

See also

Other dwnld_read: read_microdata()