input_indicator_create {iotables}R Documentation

Create input indicator(s)

Description

The function creates the input indicators from the inputs and the outputs.

Usage

input_indicator_create(
  data_table,
  input_row = c("gva_bp", "net_tax_production"),
  digits = NULL,
  households = FALSE,
  indicator_names = NULL
)

Arguments

data_table

A symmetric input-output table, a use table, a margins or tax table retrieved by the iotable_get function.

input_row

The name of input(s) for which you want to create the indicator(s). Must be present in the data_table.

digits

Rounding digits, if omitted, no rounding takes place.

households

If the households column should be added, defaults to FALSE.

indicator_names

The names of new indicators. Defaults to NULL when the names in the key column of input_matrix will be used to create the indicator names.

Value

A tibble (data frame) containing the input_matrix divided by the output_vector with a key column for products or industries.

See Also

Other indicator functions: coefficient_matrix_create(), direct_effects_create()

Examples

 
input_indicator_create( data_table = iotable_get(), 
                        input_row = c("gva", "compensation_employees"),
                        digits = 4, 
                        indicator_names = c("GVA indicator", "Income indicator"))

[Package iotables version 0.9.3 Index]