The {trrrj} package provides facilities to aid in the analysis of flight trajectories.

It is in contiuous flux both because new features are added but also because of how people in the work together and collaborate.

If you want to contribute but you feel overwhelmed by the git/github scaffolding, please have a look at the usethis vignette “Pull request helpers”. It marvellously describes a nice workflow and would make collaboration very easy and fruitful.

Installation

{trrrj} is not yet available from CRAN, but you can install the development version from github with:

Usage

There are functions that allow you to:

  • Load trajectories from various providers/sources:
  • Plot trajectories
    • 2D plot
    • vertical profiles (time or distance based)
  • Analyse trajectories (Under work: more to come!)
    • extract level flight segments
  • Read/transform/save your day
    • parse Longitude/Latitude in various formats
    • determine the AIRAC2 cyle for a date or its range (ICAO or CFMU format)

Data

The package contains small data source files in order to provide realistic examples and use cases for guides and vignettes.

Tutorials and Guides

The vignette Plotting trajectories provides a good introduction on how to use the package.

The vignette How to Access OpenSky Network Data details a simple session for retrieving data from OSN.


  1. Correlated Position Reports (CPR) are position report provided by the ATC radar facilities. They are correlated because they contain flight information

  2. An AIRAC (Aeronautical Information Regulation And Control) cycle is the 28-day period that regulates the pubblication of aeronautical information