Learn R Programming

healthbR (version 0.2.0)

vigitel_dictionary: Get VIGITEL variable dictionary

Description

Downloads and returns the VIGITEL data dictionary containing variable descriptions, codes, and categories.

Usage

vigitel_dictionary(cache_dir = NULL, force = FALSE)

Value

A tibble with variable 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()
dict <- vigitel_dictionary(cache_dir = tempdir())
head(dict)
}

Run the code above in your browser using DataLab