Ir al contenido

Without arguments, returns the current cache folder. With path, changes it for the session. The default comes from the FAPERU_CACHE environment variable or, if unset, from tools::R_user_dir().

Uso

fa_cache(path = NULL)

Argumentos

path

New folder, or NULL to only query.

Valor

The cache path (invisibly when it is changed).

Detalles

If you already have the microdata on disk with the same layout (<SURVEY>/<year>/<file>.zip), point the cache there and fa_download() will reuse it.

Ejemplos

fa_cache()
#> [1] "/home/andre/.cache/R/faperu"