tabBooks: Create a tabBook

View source: R/tabBooks.R

tabBooksR Documentation

Create a tabBook

Description

Prepares the actual data for tabulation

Usage

tabBooks(
  dataset,
  vars,
  banner,
  weight = NULL,
  topline = FALSE,
  include_original_weighted = TRUE,
  filter = NULL
)

Arguments

dataset

A crunch dataset name

vars

A character vector of var names that exist within the crunch dataset

banner

A banner object from banner

weight

A weighting variable passed to tabBook

topline

Logical identifying if this is a topline only

include_original_weighted

Logical, if you have specified complex weights

filter

A list of 'CrunchExpression's, 'CrunchFilter's, or string names of filters to be combined with the filter applied to dataset passed into the 'dataset' argument. should the original weighted variable be included or only the custom weighted version?


Crunch-io/crunchtabs documentation built on Aug. 19, 2024, 9:23 p.m.