D. Bertuzzi  Petrolina, PE  9°23′S 40°30′W
GitHub
Sunset over the sertão: flat-topped hills, the São Francisco river and mandacaru cacti
PortfolioWorking paper no. 1November 2026

Dante Bertuzzi

Statistician. I write Julia packages that make Brazilian public data reproducible — and I study the climate of the place I live.

Abstract

Public data in Brazil is rich and hard to reach: compressed DBC files, Latin-1 encodings, layouts that change between releases. My work absorbs that mess once, in open-source Julia packages, so the analysis can start at the question instead of at the file format. Eight packages so far cover health records, elections, crime statistics, ocean biodiversity, data quality, document templating and project management. I also write reproducible research: my latest preprint estimates that a year as dry as 2012/13, once expected about every 38 years in Petrolina, under the linear trend now comes about every 12 to 18 at the end of the record.

Keywords: statistics · Julia · public data · reproducibility · semi-arid

Rainfall per hydrological year, Petrolina, 1963/64 to 2020/21Bars for 47 years with valid data. Rainfall falls by about 60 mm per decade. The driest years are 2011/12, 2012/13 and 2016/17, between 135 and 151 mm.02505007501000mm1970198019902000201020201963/64: 853 mm1964/65: 535 mm1965/66: not enough valid days1966/67: not enough valid days1967/68: not enough valid days1968/69: not enough valid days1969/70: not enough valid days1970/71: 606 mm1971/72: 541 mm1972/73: 591 mm1973/74: 915 mm1974/75: 568 mm1975/76: 367 mm1976/77: 634 mm1977/78: 839 mm1978/79: 426 mm1979/80: 619 mm1980/81: 578 mm1981/82: not enough valid days1982/83: 432 mm1983/84: 645 mm1984/85: not enough valid days1985/86: not enough valid days1986/87: not enough valid days1987/88: not enough valid days1988/89: not enough valid days1989/90: 546 mm1990/91: 456 mm1991/92: 479 mm1992/93: 199 mm1993/94: 553 mm1994/95: 610 mm1995/96: 433 mm1996/97: 634 mm1997/98: 211 mm1998/99: 374 mm1999/00: 692 mm2000/01: 475 mm2001/02: 431 mm2002/03: 371 mm2003/04: 768 mm2004/05: 342 mm2005/06: 337 mm2006/07: 433 mm2007/08: 646 mm2008/09: 638 mm2009/10: 360 mm2010/11: 480 mm2011/12: 151 mm2012/13: 151 mm2013/14: 513 mm2014/15: 330 mm2015/16: 344 mm2016/17: 135 mm2017/18: 307 mm2018/19: 262 mm2019/20: 379 mm2020/21: 418 mmmean 1963/64–2008/09 · 536 mmtrend -60 mm / decade2012/13 · 151 mm
Figure 1
Rainfall per hydrological year at INMET station 82983, Petrolina, 1963/64–2020/21 (47 years with valid data; hollow dots mark years with insufficient data). Dashed: the mean of the 35 valid years from 1963/64 to 2008/09. Solid: a Sen–Theil trend fitted here to the same series, −60 mm per decade; the paper reports −60 [−87; −33]. One dry year is noise. Six decades of them are a trend.
§1

Packages

Open-source Julia, written to be read: typed schemas, few dependencies, Tables.jl everywhere it fits.

Table 1Activity is commits per week over the last 52 weeks and ★ the repository's stars, from GitHub; under the version, the date of the latest release. Select a column header to sort.
# Links
1 MicroSUS.jlDATASUS microdata with constant-memory streaming reads of .dbc/.dbf and typed schemas for SIM, SINASC, SIH, SIA, CNES and SINAN. Health 0.5.1 87 2 github stars code · docs
2 BRElections.jlTSE electoral data — candidates, votes by polling station, assets, electorate — with no ZIPs to unpack and no Latin-1 to deal with. Elections 0.4.1 44 2 github stars code
3 DeBRief.jlCrime statistics from MJSP/Sinesp under one stable schema across years of shifting layouts, with per-100k rates. Public safety 0.1.4 20 3 github stars code · docs
4 OBISClient.jlAn independent client for OBIS, the Ocean Biodiversity Information System (IOC/UNESCO). Biodiversity 0.2.0v0.1.0 · 46 2 github stars code · docs
5 MissingPatterns.jlMissing-data patterns in the terminal: heatmaps, md.pattern()-style summaries and co-occurrence, zero plotting dependencies. Data quality 0.8.0 47 7 github stars code · docs
6 Perth.jlGantt and Kanban driven from the REPL, with a local web UI and real-time sharing over the LAN. Tools 0.16.1 174 11 github stars code · docs
7 Kanon.jlA document template language whose templates declare their own data contract. Tools 0.1.0no release 65 2 github stars code · docs
8 Liquid.jlThe Liquid template language in pure Julia; rendering never evaluates Julia code. Tools 0.1.0 9 2 github stars code
§2

Research

Every number in the text is generated by the code, with unit tests, a partial check in Python and Lean proofs of the closed-form formulas.

Bertuzzi, D. de S. (2026). Menos chuva e mais calor em Petrolina-PE (1961–2025): tendências do regime meteorológico e o que elas implicam para a frequência de anos muito secos. Preprint, Zenodo, v1.3.2. doi:10.5281/zenodo.24608594 · code & data

−60 mm / decade

Annual rainfall trend up to 2020/21, 95% interval −87 to −33.

+0.40 °C / decade

Minimum temperature; 0.19 to 0.31 after correcting breaks against neighbouring stations. Maximum rose +0.27 °C per decade (0.19 after correction).

38 → 12–18 years

Return period of a year as dry as 2012/13: stationary climate vs. end of the record under the linear trend (about 27 if the decline was a step). The wet years 2021/22–2024/25 suggest the end of the line overstates the current dryness.

6 stations

Regional frequency analysis: station 82983 and the 5 ANA rain gauges, 291 station-years.

§3

Websites

Projects on the web, beyond the packages.

morrisonkuhlsen.com ↗

Statistics, probability and foundational maths for beginners, with interactive formulas, tables and tests, in Portuguese and English.

§4

Methods

How I work, in three rules.

  1. 4.1Absorb the mess once

    DBC files, Latin-1, layouts that drift between years — handled inside the package, so nobody downstream has to.

  2. 4.2Every number comes from code

    Papers are generated, not typed: figures, tables and the numbers in the prose all come out of the same reproducible run.

  3. 4.3Few dependencies, small surface

    Terminal heatmaps with no plotting library; API clients without HTTP.jl. Fast to load, easy to keep alive.

§5

Correspondence

github.com/dantebertuzzi

Issues, pull requests and questions about any package are welcome there.

↑↓ navigate · ⏎ select · esc close · help: commands