Compare cached and current DataSUS dictionaries
Source:R/dictionary_compare.R
compare_datasus_dictionary.RdCompare cached and current DataSUS dictionaries
Usage
compare_datasus_dictionary(
information_system,
previous = NULL,
refresh = TRUE,
timeout = 240,
quiet = FALSE,
cache_dir = getOption("microdatasus.cache_dir", NULL)
)Arguments
- information_system
A value accepted by datasus_variables().
- previous
Optional table previously returned by datasus_variables(). When NULL, the currently cached dictionary is used as the baseline.
- refresh
Logical scalar. If TRUE, download the current archive after capturing the baseline.
- timeout
A positive numeric scalar. Download and connection timeout, in seconds.
- quiet
Logical scalar. If
TRUE, suppress download progress and status messages.- cache_dir
Optional persistent cache root. The package option
microdatasus.cache_diris used by default;NULLuses only the current session cache.