Learn R Programming

healthbR (version 0.1.1)

vigitel_data_single: Load single year of VIGITEL data

Description

Load single year of VIGITEL data

Usage

vigitel_data_single(
  year,
  vars = NULL,
  force_download = FALSE,
  lazy = FALSE,
  cache_dir = NULL
)

Value

A tibble or Arrow Table (if lazy = TRUE)

Arguments

year

Integer year

vars

Character vector of variables or NULL

force_download

Logical

lazy

Logical. If TRUE, return Arrow object for lazy evaluation.

cache_dir

Optional custom cache directory