Learn R Programming

healthbR (version 0.2.0)

vigitel_variables: List VIGITEL variables

Description

Returns a tibble with information about available variables in the VIGITEL dataset.

Usage

vigitel_variables(cache_dir = NULL, force = FALSE)

Value

A tibble with variable information from the dictionary.

Arguments

cache_dir

Character. Directory for caching downloaded files. Default uses tools::R_user_dir("healthbR", "cache").

force

Logical. If TRUE, re-download even if file exists in cache. Default is FALSE.

Examples

Run this code
if (FALSE) { # interactive()
vars <- vigitel_variables(cache_dir = tempdir())
head(vars)
}

Run the code above in your browser using DataLab