Summarize and add tax data
total_tax_add(
data_table,
tax_names = c("d21x31", "d29x39"),
total_tax_name = "TOTAL_TAX"
)
A SIOT, a use table, a supply table, or a margins table that has product and production tax rows in among the primary inputs.
Defaults to ("d21x31", "d29x39")
,
which are the Eurostat
names for taxes. The parameter is not case sensitive.
Defaults to 'TOTAL_TAX'
. The name of the
summarized row. It is case sensitive.
A data frame with the vector of multipliers and the an auxiliary metadata column (for joining with other matrixes.)
# NOT RUN {
de_io <- iotable_get()
total_tax_add (de_io,
tax_names = c("net_tax_products", "net_tax_production"),
total_tax_name = "total_tax")
# }
Run the code above in your browser using DataLab