AlertaDengue / AlertaDengue/AlertTools

Remove tweet from historical alert SQL generation

Offen
#18 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @esloch Auf GitHub ansehen
enhancement
Vorherrschende Sprache
R
Sterne
1
Forks
0
Ø Merge
11 T. 23 Min.
Gemergte PRs (30 T.)
1

Beschreibung

## Description

Remove the archived `tweet` field from historical alert SQL/data generation.

The `tweet` column is planned for removal from the historical alert tables, but AlertTools still writes it through `tabela_historico()` and `write_alerta()`.

## Required work

- remove `tweet` from historical alert output generated by `tabela_historico()`;
- remove `tweet` from `write_alerta()` SQL for dengue, chikungunya and zika historical alert tables;
- keep the generated SQL compatible with:
- `Municipio.Historico_alerta`;
- `Municipio.Historico_alerta_chik`;
- `Municipio.Historico_alerta_zika`;
- review exported `getTweet()` and mark it deprecated, archived or unused if it is no longer part of active workflows;
- add tests for tweet-free generated data frames and SQL;
- confirm AlertaDengueAnalise can run with the updated AlertTools.

## Out of scope

- dropping the database column;
- changing unrelated historical alert fields;
- changing AlertaDengue API behavior;
- changing production data.

## Acceptance criteria

- `tabela_historico()` no longer requires or emits `tweet`;
- `write_alerta()` no longer writes `tweet`;
- generated SQL does not reference the `tweet` column;
- tests cover dengue, chikungunya and zika SQL generation;
- AlertaDengueAnalise integration path is verified;
- database migration in AlertaDengue is unblocked.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.