Skip to content

Repository files navigation

US Tariff: What didn't and What did do

Please find the full report here.

imports_chart exports_chart treasury_report1 treasury_report2

Source of Data

Or, Use my transformed dataset in MotherDuck by the share link:

-- Run this snippet to attach database in MotherDuck
ATTACH 'md:_share/us_tariff/5e5d7ce4-fe48-487a-a05f-2dd92e9ac43d';

Reference


Get start

Dependences: dbt, duckdb (MotherDuck), Evidence BI.

Clone the repository and Create a MotherDuck account, add access token into repository secret.

Set up the development environment by .devcontainer, then run the following commands to build the data pipeline and reports:

dbt Pipeline

cd pipeline
dbt build
dbt docs generate

Reports

cd reports
npm run sources
npm run build 

Sructure

.
├── ingest/
├── data/
│
├── pipeline/
│   ├── analyses/
│   ├── macros/
│   ├── models/
│   ├── seeds/
│   ├── tests/
│   ├── dbt_project.yml
│   └── profiles.yml
│
├── reports/
│   ├── .evidence/customization
│   ├── build/
│   ├── pages/
│   ├── scripts/
│   ├── sources/
│   ├── evidence.config.yaml
│   ├── package-lock.json
│   └── package.json
│
├── .devcontainer/
├── .github/workflows
└── requirements.txt

About

Decomposition analysis of the impact of 2025 Trump tariffs on US goods imports and consumer burden

Resources

Stars

Watchers

Forks

Contributors

Languages