50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

iotables (version 0.4.7)

total_tax_add: Summarize and add tax data

Description

Summarize and add tax data

Usage

total_tax_add(
  data_table,
  tax_names = c("d21x31", "d29x39"),
  total_tax_name = "TOTAL_TAX"
)

Arguments

data_table

A SIOT, a use table, a supply table, or a margins table that has product and production tax rows in among the primary inputs.

tax_names

Defaults to ("d21x31", "d29x39"), which are the Eurostat names for taxes. The parameter is not case sensitive.

total_tax_name

Defaults to 'TOTAL_TAX'. The name of the summarized row. It is case sensitive.

Value

A data frame with the vector of multipliers and the an auxiliary metadata column (for joining with other matrixes.)

Examples

Run this code
# 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