Learn R Programming

iotables (version 0.4.5)

input_indicator_create: Create input indicator(s)

Description

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

Usage

input_indicator_create(
  data_table,
  input_vector = 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_vector

The name of inputs for which you want to create the indicators. They must be found 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 colum of input_matrix will be used to create the indicator names.

Value

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

See Also

Other indicator functions: coefficient_matrix_create(), direct_effects_create()

Examples

Run this code
# NOT RUN {
 
input_indicator_create( data_table = iotable_get(), 
                        input_vector = c("gva", "compensation_employees"),
                        digits = 4, 
                        indicator_names = c("GVA indicator", "Income indicator"))
# }

Run the code above in your browser using DataLab