input: Write spending to Excel for Implan import

Description Usage Arguments See Also Examples

View source: R/input.R

Description

This writes separate sheets for commodity and industry by wrapping input_prep and input_write. The dots argument allows for an arbitrary number of grouping dimensions (for separate sheets by dimensions).

Usage

1
input(dat, filename, event_year, ...)

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

event_year

Activity Year for Implan

...

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

See Also

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

Examples

1
# see ?input_prep()

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