Skip to content

Standalone Analysis Docs

View or edit on GitHub

This page is synchronized from trase/products/analysis/README.md. Last modified on 2025-12-09 00:30 CET by Trase Admin. Please view or edit the original file there; changes should be reflected here after a midnight build (CET time), or manually triggering it with a GitHub action (link).

TRASE_ANALYSIS

Library of code for data analysis for Trase

This repository will aggregate a library of scripts for research and analysis of Trase data. The library should include common analyses (e.g. level 1 data specific) and more specific analyses of the data (e.g. country/commodity/company specific).

The full file structure can be seen below. Broadly, files are organized like so:

/notebooks: exploratory analyses, visualizations, or QA
/reports: analyses or visuals for external or broad internal use
/themes: files to generate consistent visuals with Trase branding for charting libraries (e.g. ggthemes, matplotlib settings)

Structure:

├── README.md             <- The top-level README for team members using this project.
│
├── notebooks             <- For draft or internal documents, exploratory in nature.
|                            
├── helpers               <- Scripts to transform data into formats for visualizations or
|   |                        provide contextual information useful for plots. 
|   ├── get_hs_codes.r
│   └── build_features.py    [these are example files]
|
├── reports               <- Generated analysis in both markdown and output (HTML, PDF, LaTeX, etc.) formats
|   |                        files in this folder will be used externally or for broad internal use
|   ├── yearbook
|   ├── manuscripts
|   └── press_releases
│       └── brazil_soy_article_oct2018.Rmd [these are example files]
|
│
└── themes