calc_aggregates_from_ecc_prime | R Documentation |
This is a helper function for footprint_aggregates()
and effects_aggregates()
.
It calculates the primary and final demand aggregates for a list of
reconstructed energy conversion chains (ECCs) in ecc_prime
.
calc_aggregates_from_ecc_prime(
ecc_prime,
calc_pfd_aggs,
p_industries,
fd_sectors,
piece = "all",
notation = RCLabels::notations_list,
pattern_type = c("exact", "leading", "trailing", "anywhere", "literal"),
prepositions = RCLabels::prepositions_list,
product_sector,
chop_df,
aggregate_primary,
gross_aggregate_demand,
net_aggregate_demand,
R_prime_colname,
U_prime_colname,
U_feed_prime_colname,
U_eiou_prime_colname,
r_eiou_prime_colname,
V_prime_colname,
Y_prime_colname,
S_units_prime_colname
)
ecc_prime |
A list of reconstructed energy conversion chains. |
calc_pfd_aggs |
Tells whether to calculate and add primary and final demand aggregates to the nested data frame. |
p_industries |
A vector of names of industries to be aggregated as "primary."
See |
fd_sectors |
A vector of names of sectors in final demand.
See |
piece |
The piece of labels to be matched. Default is "all". See the |
notation |
The notation type for matching. Default is |
pattern_type |
One of "exact", "leading", "trailing", or "anywhere" which specifies
how matches are made for |
prepositions |
Prepositions for notation matching. Default is |
product_sector |
The name of the output column that contains the product, industry, or sector for which footprint aggregates are given. |
chop_df , aggregate_primary , net_aggregate_demand , gross_aggregate_demand |
Names of output columns.
See |
R_prime_colname , U_prime_colname , U_feed_prime_colname , U_eiou_prime_colname , r_eiou_prime_colname , V_prime_colname , Y_prime_colname , S_units_prime_colname |
Names of output matrices in the return value. Default values are constructed from |
This is not a public function.
It is an internal helper function
for footprint_aggregates()
and effects_aggregates()
.
A data frame containing reconstructed (prime) matrices and
primary and final demand aggregates in a list suitable for use in matsindf::matsindf_apply()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.