This helper function creates you a named vector that conforms your
analytical objects, such as the use table, the Leontief-matrix,
etc. With 60x60 matrixes it is easy to make mistakes with manual
definition. The empty effects vector can be used in .csv
format
as a sample to import scenarios from a spreadsheet application.
Arguments
- data_table
A use table, Leontief-matrix, Leontief-inverse, a coefficient matrix or other named matrix / vector.
Value
A wide-format conforming vector of data frame class,
with column names matching the metadata of the data_table
.
See also
Other iotables processing functions:
household_column_get()
,
iotable_year_get()
,
key_column_create()
,
matrix_round()
,
output_get()
,
primary_input_get()
,
rows_add()
,
supplementary_add()
,
total_tax_add()
,
vector_transpose_longer()
,
vector_transpose_wider()
Examples
de_input_flow <- input_flow_get(data_table = iotable_get())
conforming_vector_create (data_table = de_input_flow)
#> iotables_row agriculture_group industry_group construction trade_group
#> 1 0 0 0 0 0
#> business_services_group other_services_group final_consumption_households
#> 1 0 0 0