Skip to contents

Data import

Ingest supply-use tables from WIOD workbooks, FIGARO CSVs, or shipped example datasets.

import_suts() extract_domestic_block() sube_example_data()
Import, Example Data, and Supply-Use Preparation
read_figaro()
Import FIGARO Supply-Use Tables

Matrix building

Extract the domestic block and assemble the supply, use, and Leontief matrices.

import_suts() extract_domestic_block() sube_example_data()
Import, Example Data, and Supply-Use Preparation
build_matrices()
Build Domestic Supply and Use Matrices
extract_leontief_matrices() prepare_sube_comparison() plot_paper_comparison() plot_paper_regression() plot_paper_interval_ranges()
Leontief Extraction and Comparison Workflow Tools

Compute & models

Compute SUBE multipliers and estimate panel or cross-sectional elasticity regressions.

compute_sube()
Compute SUBE Multipliers and Elasticities
estimate_elasticities()
Estimate OLS and Panel Elasticity Models

Pipeline helpers

One-call wrappers from raw input paths to SUBE results, for single runs or batches.

run_sube_pipeline()
Run the SUBE Pipeline End-to-End
batch_sube()
Batch-Run the SUBE Pipeline Over Country x Year Groups

Paper replication

Filter outliers, prepare comparison tibbles, and plot the paper’s three diagnostic views.

Output & export

Filter, visualize, and write SUBE results to CSV, Excel, Stata, or PDF.

filter_sube() plot_sube() write_sube()
Filter, Plot, and Export SUBE Results