trackingReport: Create a multi-dataset tracking report

View source: R/trackingReports.R

trackingReportR Documentation

Create a multi-dataset tracking report

Description

This function provides a method for creating a multi-dataset tracking report

Usage

trackingReport(
  dataset_list,
  vars,
  labels = NULL,
  weight = NULL,
  show_once = NULL
)

Arguments

dataset_list

A list of two or more crunch datasets. Datasets should be provided in time order. From oldest to youngest. (i.e, wave 1, wave 2, ..., wave n)

vars

A character vector of question aliases to be included in the report this may include aliases that are available in at least one of the datasets specified in dataset_list

labels

The labels for each wave. Should be of a length that matches the number of datasets.

weight

NULL to accept each dataset's current weight or a single alias that is available in all datasets as a string. Multiple weights is not recommended in a tracking report.

show_once

A vector of aliases whose values may be available in one or more datasets will only be shown for the latest data set in 'dataset_list'.


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