Skip to contents

Convenience wrapper around primary_input_get() that returns the row labelled Output (P1) from a symmetric input–output table (SIOT) or from a use table retrieved by iotable_get().

Usage

output_get(data_table)

Arguments

data_table

A symmetric input–output table or use table retrieved by iotable_get().

Value

A one-row data frame: the first column is the key column; remaining columns give output (P1) by product/industry.

Details

In the Eurostat framework, Output is transaction P1, usually recorded at basic prices (often labelled "output" or "output_bp"). It is a balancing item of the use table / SIOT, not a “primary input” (primary inputs are value added components and imports, shown in the third quadrant). This helper merely selects the row labelled "output", "output_bp", "P1" or "p1" if present.

Examples

# Output (P1) from the package demo table
iot_germany <- iotable_get()
output_get(data_table = iot_germany)
#>    iotables_row agriculture_group industry_group construction trade_group
#> 15       output             43910        1079446       245606      540063
#>    business_services_group other_services_group
#> 15                  692487               508918