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 ofinput_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"))
#> # A tibble: 2 × 7
#> iotables_row agriculture_group industry_group construction trade_group
#> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 GVA indicator 0.214 0.275 0.321 0.397
#> 2 Income indicator 0.493 0.366 0.471 0.577
#> # … with 2 more variables: business_services_group <dbl>,
#> # other_services_group <dbl>