get_marco.RdThis unction allows you to download and read the sampling frame from INE website
get_marco(year = NULL, folder = tempdir(), toR = TRUE) get_sampling_frame(year = NULL, folder = tempdir(), toR = TRUE)
| year | allows download data of 2011, 2004, 1996 or 1985. Default 2011 |
|---|---|
| folder | Folder where are the files or be download |
| toR | write data frame in R format and delete download file and unpack files |
unrar files from INE web and the respective data frame in tibble format
Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.