THIS IS WORK IN PROGRESS: use at your own risk.
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 users’ feedback.
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.
{trrrj}
is not yet available from CRAN, but you can install the
development version from github with:
# install.packages("remotes")
remotes::install_github("euctrl-pru/trrrj")
There are functions that allow you to:
- Load trajectories from various providers/sources:
- Flightradar24’s archived/live feed files (ADS-B)
- Flightradar24’s live feed from EUROCONTROL’s DB (ADS-B)
- Network Manager’s archived CPR files (see CPRs in the Notes)
- DDR2’s SO6 trajectories from EUROCONTROL’s DB (Flight plan and CPR based)
- OpenSky Network’s historical data, removed see osn package
- 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 AIRAC cyle for a date or its range (ICAO or CFMU format); see AIRAC in the Notes
The package contains small data source files in order to provide realistic examples and use cases for guides and vignettes.
The vignette Plotting trajectories provides a good introduction on how to use the package.
The {osn}
package can be used to
access the OpenSky Network Data.
Correlated Position Reports (CPR) are position report provided by the ATC radar facilities. They are correlated because they contain flight information
An AIRAC (Aeronautical Information Regulation And Control) cycle is the 28-day period that regulates the pubblication of aeronautical information
In order to build the relevant pkgdown
web pages while developing,
execute the following code:
# How to build the pakgdown from behind proxied Internet
library(withr)
library(pkgdown)
with_options(list(pkgdown.internet = FALSE),
build_site())