calculateIndicatorScoresforTotalsBySector: Adds an indicator score to a totals by sector table. A short...

View source: R/SatelliteFunctions.R

calculateIndicatorScoresforTotalsBySectorR Documentation

Adds an indicator score to a totals by sector table. A short cut alternative to getting totals before model result

Description

Adds an indicator score to a totals by sector table. A short cut alternative to getting totals before model result

Usage

calculateIndicatorScoresforTotalsBySector(
  model,
  totals_by_sector_name,
  indicator_name
)

Arguments

model

A EEIO model with model specs, IO tables, satellite tables, and indicators loaded

totals_by_sector_name

The name of one of the totals by sector tables available in model$SatelliteTables$totals_by_sector

indicator_name

The name of the indicator of interest from the model$Indicators$factors

Value

a totals_by_sector table with fields from the Indicator table "Code" and "Amount", and calculated "IndicatorScore" added


USEPA/useeior documentation built on April 12, 2024, 1:36 p.m.