check_implan_sums: Check whether the implan Excel sheets match spending by...

Description Usage Arguments See Also Examples

View source: R/input.R

Description

This is intended to be called after input. It checks sums for "Ind" and "Comm" separately, based on grouping supplied by the dots argument.

Usage

1
check_implan_sums(dat, filename, ..., print_compare = FALSE)

Arguments

dat

data frame with spending by sector with 4 required columns: group ("Ind" or "Comm"), sector (numeric), retail ("Yes" or "No"), spend (numeric)

filename

file path for output excel file

...

Optional grouping variables (unquoted) for separating sheets across one or more dimensions

print_compare

If TRUE, show comparison between the 2 summaries

See Also

Other functions for implan input: input_header(), input_prep(), input_write(), input()

Examples

1
# see ?input_prep

southwick-associates/implan documentation built on Feb. 28, 2020, 10:45 a.m.