trackingDeclareAvailability: Specify question availability in a tracking report

View source: R/trackingReports.R

trackingDeclareAvailabilityR Documentation

Specify question availability in a tracking report

Description

For each alias, we set an attribute that identifies it's availability across all the datasets: "general", and "single"

  • "general" means it is available in only some datasets

  • "single" means it is available in exactly one dataset Because we use subsetting at the list level, "general" and "single" would follow a typical path that labeling was adjusted appropriately for presentation in the resulting pdf "single" should act as a simple passthrough where no additional formatting or manipulation takes place on the result.

Usage

trackingDeclareAvailability(rebuilt_results, results_available, var, labels)

Arguments

rebuilt_results

A list of result objects from crunch

results_available

A vector identifying in which list elements

var

The name of the alias that we are declaring its availability

labels

The wave labels


Crunch-io/crunchtabs documentation built on Jan. 31, 2023, 12:14 p.m.