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.

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