Brazil Soy 2022
View or edit on GitHub
This page is synchronized from trase/products/analysis/explainers/brazil_soy_2022/README.md. Last modified on 2025-12-13 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).
Explainer code
This folder contains the code used to build the dataframes ingested on trase observable to create the plots for the soy explainer document. The output dataframes are stored on amazon s3 in
trase-storage/brazil/soy/brazil_beef_2023/
````
## Structure and files
│ └── explainer_observable_chinese.py # Code used to run the chinese version of the graphs.
├── english
│ └── explainer_observable_english.py # Code used to run the english version of the graphs.
└── portuguese
└── explainer_observable_portuguese.py # Code used to run the portuguese version of the graphs.
```
Workflow
The workflow consists in the following steps: 1. Run the script on the specific desired version 2. Download the generated files to s3 and load them into the observable. To know which dataframe goes to each observable graph, you can check the names of the dataframes that have already been loaded into Observable. 3. After updating the charts in Observable, create a new insight draft in Santy, with the charts. 4. Publish the draft, which will flow to trase insights pages but will not be visible, accessible only with the link.
