Skip to contents

Load aggregation tables and create aggregation maps for use in the workflow.

Usage

load_aggregation_maps(
  path,
  aggregation_file_tabs = PFUAggPipeline::aggregation_file_tab_names,
  many_colname = PFUAggPipeline::aggregation_file_cols$many_colname,
  few_colname = PFUAggPipeline::aggregation_file_cols$few_colname
)

Arguments

path

The path to an Excel file containing aggregation tables.

aggregation_file_tabs

A list of tabs in the aggregation file. The names are the programmatic names for the tabs. The items are the actual names. Default is PFUAggPipeline::aggregation_file_tabs.

many_colname

The name for the many column in the aggregation tables. Default is PFUAggPipeline::aggregation_file_info$many_colname.

few_colname

The name for the few column in the aggregation tables. Default is PFUAggPipeline::aggregation_file_info$few_colname.

Value

A named list of aggregation maps. The names give the aggregation map. The items are the aggregation maps themselves.

Details

An aggregation table consists of a many column and a few column. An aggregation map is a named list of items, where the names are the few and the items are the many.