← Back to all sparks
F

flightsbr

ANALYTICS
Velocity0.0

Download Flight and Airport Data from Brazil

Brazil's flight-data package keeps working around what ANAC publishes and when.

open-dataaviationbrazildata-accessr-package
Current state
flightsbr downloads Brazilian civil aviation data — flights, airport movements, aircraft registrations, air fares — straight from ANAC into R. Its read_ functions now default to the latest available date rather than requiring one, and read_aircrafts() has been renamed to read_aircraft(). The published feed jumps from 0.1.2 to 0.3.0 to 1.1.0, so intermediate releases are not visible here.
Where it's heading
This is a package defined by its upstream. Its releases are mostly reactions to how ANAC serves data: a download path that broke on 2022 data, URLs with inconsistent .CSV casing that hid available dates, a broken data dictionary link, and an air fares reader that had to be pulled entirely when the source became unworkable. The 2025 release is the first that reads like product design rather than repair — defaulting to the latest data and fixing a typo in a function name at the cost of a deprecation. Availability of the source, not developer intent, sets the release cadence.
Prediction
The most likely next move is another adjustment to a changed ANAC endpoint or the return of the suspended air fares reader, since upstream availability has driven every release visible here.

Recent moves

  1. 1y ago

    Readers default to the latest available data

    Every read_ function now defaults to the latest available date, changing what a bare call returns and removing the need to know what has been published. read_aircrafts() is deprecated in favour of read_aircraft(), a pure typo fix with identical behaviour — the rare release here driven by design rather than by an upstream break.

    View source ↗
  2. 3y ago

    Vectorised dates for flights as air fares reader is withdrawn

    read_flights() gains support for a vector of dates, while read_airfares() is withdrawn as temporarily unavailable — a capability lost to the upstream source rather than to a decision. The accompanying fixes, including dates missed because of .CSV casing in ANAC URLs, show how much of this package is URL archaeology.

    View source ↗
  3. 4y ago

    Fix for blocked 2022 data downloads

    A single fix for a bug that blocked downloads of 2022 data. The earliest visible instance of the pattern that governs this package: the calendar turns, the upstream changes, the package breaks.

    View source ↗