Learn R Programming

iotables (version 0.4.5)

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