Flávio Gabriel Carazza-Kessler, Sysbiolab Team
24 July 2026
This repository provides a reproducible R workflow for preprocessing Brazilian flight and airport data for spatial network analysis with RGraphSpace.
The workflow:
- Downloads 2024 flight records with
flightsbr. - Downloads Brazilian airport metadata.
- Harmonizes IATA and ICAO airport codes.
- Removes international routes.
- Identifies active Brazilian airports.
- Aggregates flights by origin–destination pair.
- Converts airport and geographic data to
sfobjects. - Saves the processed objects for use in an RGraphSpace vignette.
If you are not familiar to RGraphSpace, please see the available workflows: RGraphSpace - Get Started
Read the complete preprocessing workflow
RGraphSpace vignette: Using RGraphSpace for spatial data analysis.
- Agência Nacional de Aviação Civil — ANAC
flightsbrrnaturalearth
- Brazilian geographic boundaries
- Active Brazilian airports
- Aggregated domestic flight routes
- Spatial objects for RGraphSpace
The repository contains the R Markdown source, rendered HTML output, bibliographic references, and processed data objects.
If you use RGraphSpace, please cite:
- Sysbiolab Team (2026). RGraphSpace: A lightweight interface between 'igraph' and 'ggplot2' graphics. R package version 1.2.4. DOI: 10.32614/CRAN.package.RGraphSpace