View source: R/sector_aggregations.R
calculate_sector_agg_eta_fu | R Documentation |
This function calculates final demand aggregates by sector for both final and useful stages and resulting efficiencies.
calculate_sector_agg_eta_fu(
.psut_data,
fd_sectors,
piece = "all",
pattern_type = "exact",
notation = RCLabels::notations_list,
prepositions = RCLabels::prepositions_list,
R = Recca::psut_cols$R,
U = Recca::psut_cols$U,
U_feed = Recca::psut_cols$U_feed,
U_eiou = Recca::psut_cols$U_eiou,
r_eiou = Recca::psut_cols$r_eiou,
V = Recca::psut_cols$V,
Y = Recca::psut_cols$Y,
S_units = Recca::psut_cols$S_units,
country = Recca::psut_cols$country,
year = Recca::psut_cols$year,
last_stage = Recca::psut_cols$last_stage,
gross_aggregate_demand = Recca::aggregate_cols$gross_aggregate_demand,
net_aggregate_demand = Recca::aggregate_cols$net_aggregate_demand,
aggregate_demand = Recca::aggregate_cols$aggregate_demand,
gross_net = Recca::efficiency_cols$gross_net,
gross = Recca::efficiency_cols$gross,
net = Recca::efficiency_cols$net,
sector = "Sector",
colnames = "colnames",
rowtypes = "rowtypes",
coltypes = "coltypes",
final = IEATools::all_stages$final,
useful = IEATools::all_stages$useful,
eta_fu = Recca::efficiency_cols$eta_fu
)
.psut_data |
A data frame of PSUT matrices. |
fd_sectors |
The sectors that count for final demand. |
piece |
The piece to be aggregated. Default is "noun". |
pattern_type |
Where to look for sectors. Default is "leading". |
notation |
The assumed notation for the labels.
Default is |
prepositions |
The expected propositions in row and column labels.
Default is |
R, U, U_feed, U_eiou, r_eiou, V, Y, S_units |
The names of the matrix columns in |
country |
The string name of the country column.
Default is |
year |
The string name of the year column.
Default is |
last_stage |
The string name of the last stage column.
Default is |
aggregate_demand, gross_aggregate_demand, net_aggregate_demand |
The names of columns of aggregate demand.
Defaults from |
gross_net |
The name of the column that tells whether aggregates are gross or net.
Default is |
gross, net |
Strings identifying gross or net quantities.
Defaults from |
sector |
The name of the sector column. Default is "Sector". |
colnames, rowtypes, coltypes |
Names of columns deleted after expanding matrices. Defaults are "colnames", "rowtypes", and "coltypes", respectively. |
final, useful |
The string names for final and useful aggregates.
Defaults from |
eta_fu |
The string name of the final-to-useful efficiency.
Default is |
A data frame of sector energy and exergy sums.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.