View source: R/PrIn_aggregations.R
stack_group_aggregations | R Documentation |
Matrices can be grouped by products and industries.
This function stacks those data frames with appropriate metadata columns
using dplyr::bind_rows()
.
stack_group_aggregations(
despecified_df,
Gr_Pr = NULL,
Gr_In = NULL,
Gr_PrIn = NULL,
product_aggregation = PFUAggPipeline::aggregation_df_cols$product_aggregation,
industry_aggregation = PFUAggPipeline::aggregation_df_cols$industry_aggregation,
specified = PFUAggPipeline::aggregation_df_cols$specified,
despecified = PFUAggPipeline::aggregation_df_cols$despecified,
ungrouped = PFUAggPipeline::aggregation_df_cols$ungrouped,
grouped = PFUAggPipeline::aggregation_df_cols$grouped
)
despecified_df |
A data frame in which products and industries are both despecified and not yet grouped. |
Gr_Pr |
The data frame with grouped products.
Default is |
Gr_In |
The data frame with grouped industries.
Default is |
Gr_PrIn |
The data frame with both grouped products and industries.
Default is |
product_aggregation |
The product aggregation column.
Default is |
industry_aggregation |
The industry aggregation column.
Default is |
specified |
A string that indicates a product or industry is specified.
Default is |
despecified |
A string that indicates a product or industry is despecified
Default is |
ungrouped |
A string that indicates a product or industry is grouped.
Default is |
grouped |
A string that indicates a product or industry is grouped.
Default is |
A stacked set of data frames with different product and industry groupings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.