Skip to content

View or edit on GitHub

This page is synchronized from trase/data/brazil/soy/indicators/out/q3_2026/qa/comparing_to_previous_results.md. Last modified on 2026-11-02 10:41 CET by dependabot[bot]. 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).

QA Comparison: New vs. Legacy Soy Deforestation & Emissions Indicators

Florian Gollnow 2026-08-30

Setup & Libraries

── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.2.1     ✔ readr     2.2.0
✔ forcats   1.0.1     ✔ stringr   1.6.0
✔ ggplot2   4.0.3     ✔ tibble    3.3.1
✔ lubridate 1.9.5     ✔ tidyr     1.3.2
✔ purrr     1.2.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors

Attaching package: 'arrow'


The following object is masked from 'package:lubridate':

    duration


The following object is masked from 'package:utils':

    timestamp



Attaching package: 'scales'


The following object is masked from 'package:purrr':

    discard


The following object is masked from 'package:readr':

    col_factor

Data Ingestion & Harmonization

Rows: 5579 Columns: 4
── Column specification ────────────────────────────────────────────────────────
Delimiter: ";"
chr (4): Geocódigo, Nome do município, Sigla da UF, Bioma predominante

ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

Statistical Summaries & Outlier Detection

level n_records total_ha_new total_ha_legacy ha_diff_pct pearson_r_def_ha spearman_r_def_ha mae_def_ha rmse_def_ha pearson_r_intensity total_gross_emiss_new total_gross_emiss_legacy gross_emiss_diff_pct pearson_r_gross_emiss spearman_r_gross_emiss total_net_emiss_new total_net_emiss_legacy net_emiss_diff_pct pearson_r_net_emiss spearman_r_net_emiss
biome 66 8148210 8285461 -1.656535 0.9972228 0.9967018 5057.20116 10711.7830 0.5828595 1209692883 1236383729 -2.158783 0.9973523 0.9952406 1058473493 780553861 35.60544 0.9857116 0.9876422
country 11 8148210 8285461 -1.656535 0.9949966 0.9818182 16397.57184 19553.5250 0.8333683 1209692883 1236383729 -2.158783 0.9976885 0.9727273 1058473493 780553861 35.60544 0.9955737 0.9636364
municipality 61270 8148210 8285461 -1.656535 0.9915232 0.9542717 8.53944 116.8526 0.3363587 1209692883 1236383729 -2.158783 0.9876614 0.9523298 1058473493 780553861 35.60544 0.9732006 0.9362775
state 297 8148210 8285461 -1.656535 0.9962545 0.9970471 1308.14205 5625.1569 NaN 1209692883 1236383729 -2.158783 0.9938497 0.9962818 1058473493 780553861 35.60544 0.9828536 0.9931134

QA Statistical Summary by Level of Total Soy Deforestation, Gross & Net Emissions

YEAR n_records total_ha_new total_ha_legacy ha_diff_pct pearson_r_def_ha total_gross_emiss_new total_gross_emiss_legacy gross_emiss_diff_pct pearson_r_gross_emiss total_net_emiss_new total_net_emiss_legacy net_emiss_diff_pct pearson_r_net_emiss
2014 5570 474039.3 466956.0 1.5169261 0.9981936 61209454 61993706 -1.2650515 0.9990232 52536759 37766921 39.10787 0.9826653
2015 5570 701153.4 687934.9 1.9214735 0.9977887 95570730 95660777 -0.0941317 0.9982390 82745459 58892287 40.50305 0.9830934
2016 5570 581025.8 587952.1 -1.1780271 0.9980833 80031590 81661393 -1.9958063 0.9987778 69398164 50848347 36.48067 0.9790400
2017 5570 886167.3 893996.5 -0.8757527 0.9985188 127541983 130613393 -2.3515271 0.9987135 111290592 81291976 36.90231 0.9804314
2018 5570 791910.5 803109.7 -1.3944792 0.9987081 116648628 119573722 -2.4462679 0.9991988 102094497 74695788 36.68039 0.9833212
2019 5570 746709.4 767526.4 -2.7122246 0.9978006 110461606 113980035 -3.0868817 0.9985365 96676280 72053151 34.17356 0.9821933
2020 5570 570702.0 599000.9 -4.7243569 0.9956317 85003167 88298482 -3.7320185 0.9944273 74353547 56431317 31.75937 0.9850333
2021 5570 801386.5 838821.5 -4.4628010 0.9977377 121481795 127375577 -4.6270898 0.9978412 106493175 81997268 29.87405 0.9842048
2022 5570 834106.5 861552.2 -3.1856109 0.9968879 129295872 133286147 -2.9937655 0.9972328 113664715 84834006 33.98485 0.9838024
2023 5570 944922.8 963784.1 -1.9569947 0.9835769 154636229 157180265 -1.6185469 0.9776249 136799054 101475288 34.81021 0.9671373
2024 5570 816086.0 814827.1 0.1545082 0.9658272 127811828 126760232 0.8295951 0.9481672 112421251 80267510 40.05823 0.9357898

QA Statistical Summary by Year (Total Soy Deforestation, Gross & Net Emissions)

TRASE_ID BIOME YEAR new_total_def_ha leg_def_ha abs_diff_ha rel_diff_pct
BR-1400100 AMAZONIA 2024 16840.281 2519.173 14321.108 568.48448
BR-1400100 AMAZONIA 2023 17948.633 7351.431 10597.202 144.15156
BR-1400050 AMAZONIA 2024 12533.554 2533.216 10000.338 394.76844
BR-1400159 AMAZONIA 2024 11687.608 1889.453 9798.155 518.57084
BR-1400050 AMAZONIA 2023 11245.050 4412.313 6832.738 154.85615
BR-1400159 AMAZONIA 2023 9966.577 4350.830 5615.747 129.07301
BR-4318309 PAMPA 2023 16789.237 20030.610 3241.373 -16.18210
BR-1400100 AMAZONIA 2022 10134.910 7163.723 2971.187 41.47546
BR-4306601 PAMPA 2022 13771.218 15798.960 2027.742 -12.83465
BR-4306601 PAMPA 2023 13719.616 15687.987 1968.371 -12.54699

Top 10 Municipal Total Soy Deforestation Discrepancies (ha)

TRASE_ID BIOME YEAR new_gross_emiss leg_gross_emiss abs_diff_gross rel_diff_pct
BR-1400100 AMAZONIA 2024 3749424 621753.6 3127670.6 503.04024
BR-1400100 AMAZONIA 2023 4223235 1886194.2 2337041.2 123.90247
BR-1400050 AMAZONIA 2024 2453394 576623.8 1876769.9 325.47559
BR-1400050 AMAZONIA 2023 2464652 1137505.5 1327147.0 116.67170
BR-1400159 AMAZONIA 2024 1543931 258416.3 1285514.3 497.45862
BR-1400159 AMAZONIA 2023 1391829 643311.2 748518.1 116.35396
BR-1400100 AMAZONIA 2022 2355373 1825872.2 529500.3 28.99986
BR-1400100 AMAZONIA 2020 1700664 1265710.7 434953.1 34.36434
BR-1400050 AMAZONIA 2020 1607444 1191162.7 416281.6 34.94750
BR-4306908 PAMPA 2021 1735996 2133056.7 397060.4 -18.61462

Top 10 Municipal Soy Gross CO2 Emissions Discrepancies (tCO2)

TRASE_ID BIOME YEAR new_net_emiss leg_net_emiss abs_diff_net rel_diff_pct
BR-1400100 AMAZONIA 2024 3375761 468709.1 2907052 620.22512
BR-1400100 AMAZONIA 2023 3824247 1435459.2 2388788 166.41277
BR-1400050 AMAZONIA 2024 2175319 423155.0 1752164 414.07131
BR-2911105 CERRADO 2024 4083493 2391635.4 1691858 70.74062
BR-2911105 CERRADO 2023 3596049 2059438.6 1536611 74.61309
BR-2201150 CERRADO 2017 4053387 2537524.9 1515863 59.73784
BR-2101400 CERRADO 2024 3337654 1847990.5 1489663 80.60989
BR-2911105 CERRADO 2017 3548738 2153619.0 1395119 64.78022
BR-1400050 AMAZONIA 2023 2214448 857551.5 1356897 158.22917
BR-2101400 CERRADO 2023 2858833 1519610.3 1339223 88.12936

Top 10 Municipal Soy Net CO2 Emissions Discrepancies (tCO2)

Diagnostic Visualizations: Total Soy Deforestation Area

Diagnostic Visualizations: Soy Deforestation Intensity (Area per Ton)

Warning: Removed 139 rows containing missing values or values outside the scale range
(`geom_point()`).

Warning: Removed 77 rows containing missing values or values outside the scale range
(`geom_point()`).

Diagnostic Visualizations: Gross Emissions

Diagnostic Visualizations: Net Emissions

Internal Validation: Forest vs. Non-Forest Breakdown (New Pipeline)