Package: trrrj 0.2.7

Enrico Spinielli

trrrj: Flight trajectories analysis

Functions to a) read FlightRadar24's live feed JSON files, archived data; b) import CPR data from NM's archived files; c) Plot 2D trajectories, vertical profiles both in time and track distance; d) analyse trajectories.

Authors:Enrico Spinielli [aut, cre], EUROCONTROL [cph, fnd]

trrrj_0.2.7.tar.gz
trrrj_0.2.7.zip(r-4.7-any)trrrj_0.2.7.zip(r-4.6-any)trrrj_0.2.7.zip(r-4.5-any)
trrrj_0.2.7.tgz(r-4.6-any)trrrj_0.2.7.tgz(r-4.5-any)
trrrj_0.2.7.tar.gz(r-4.7-any)trrrj_0.2.7.tar.gz(r-4.6-any)
trrrj_0.2.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
trrrj/json (API)

# Install 'trrrj' in R:
install.packages('trrrj', repos = c('https://euctrl-pru.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/euctrl-pru/trrrj/issues

Pkgdown/docs site:https://trrrj.ansperformance.eu

Datasets:
  • cprs - Sample Correlated Position Report (CPR) data.
  • egll_apt - EGLL data.
  • egll_flights - Sample Reference Trajectories' flight data at EGLL.
  • egll_flights_fr24 - Sample FlightRadar24's archived feed ADS-B flight data for EGLL.
  • egll_positions - Sample Reference Trajectories' position reports data at EGLL.
  • egll_positions_fr24 - Sample FlightRadar24's archived feed ADS-B position reports data at EGLL.
  • egll_rw_sf - EGLL runways.
  • flts - Sample FlightRadar24's archived feed ADS-B flight data.
  • poss - Sample FlightRadar24's archived feed ADS-B position reports data.

On CRAN:

Conda:

aviationflight-trajectoriestrajectories

2.90 score 16 stars 8 scripts 50 exports 73 dependencies

Last updated from:0143a8814e. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING188
source / vignettesERROR206
linux-releaseWARNING153
macos-releaseWARNING160
macos-oldrelWARNING193
windows-develWARNING79
windows-releaseWARNING97
windows-oldrelWARNING72
wasm-releaseOK127

Exports::=.data%>%airacairac_epochairac_intervalairac_year_epochas_labelbbox_at_distancebounding_boxcfmu_airaccfmu_airac_intervalcrs_tccumulative_distancecumulative_timeddm2dddms2ddenquoexport_allft_so6export_apdsexport_event_so6export_event_trajectoryexport_flight_infoexport_flights_at_airport_fr24export_flights_fr24export_hourly_adsbexport_model_trajectoryexport_movementsexport_positions_at_airport_fr24export_positions_fr24extract_segmentfilter_outlierfilter_positions_at_rangegenerate_so6parse_airspace_prismeparse_lat_icaoparse_lon_icaoplot_cpr_horizontalplot_flight_horizontalplot_flight_vertical_distanceplot_flight_vertical_timepolygon_at_distancepolygon_from_coordsread_cprread_flights_fr24read_positions_fr24read_so6resamplesmooth_positionstrrrj_example

Dependencies:askpassassertthatbitbit64blobclassclassIntclicliprcpp11crayoncurlDBIdbplyrdplyre1071eurocontrolfarverforcatsgenericsgeosphereggplot2gluegtablehmshttrisobandjanitorjsonliteKernSmoothlabelinglatticelifecyclelubridatemagrittrmimeopensslparsedatepillarpkgconfigpracmaprettyunitsprogressproxypurrrR6RColorBrewerRcppreadrrlangrnaturalearths2S7scalessfsnakecasestringistringrsysterratibbletidyrtidyselecttimechangetzdbunitsutf8vctrsviridisLitevroomwithrwkzoo

Readme and manuals

Help Manual

Help pageTopics
Return the ICAO IRAC id for a dateairac
AIRAC epoch as from ICAO Doc 8126airac_epoch
The interval od dates for an (ICAO) AIRACairac_interval
Return the effective date of the first AIRAC for year 'year'airac_year_epoch
Aircraft type as per ICAO.aircrafttype
Return an axis-aligned bounding box delimiting a circle at distance 'd'bbox_at_distance
Calculate the coordinates of the axis-aligned bounding boxbounding_box
return the CFMU AIRAC cycle number for a datecfmu_airac
The interval of dates for a CFMU AIRAC numbercfmu_airac_interval
Sample Correlated Position Report (CPR) data.cprs
PROJ4 CRS string used in Traffic Complexitycrs_tc
Calculate the cumulative distance (in km).cumulative_distance
Calculate the cumulative time (in s).cumulative_time
Convert Degree decimal Minute (DdM)) format to Decimal Degrees (DD).ddm2dd
Convert Degree Minute Seconds (DMS) format to Decimal Degrees (DD)dms2dd
EGLL data.egll_apt
Sample Reference Trajectories' flight data at EGLL.egll_flights
Sample FlightRadar24's archived feed ADS-B flight data for EGLL.egll_flights_fr24
Sample Reference Trajectories' position reports data at EGLL.egll_positions
Sample FlightRadar24's archived feed ADS-B position reports data at EGLL.egll_positions_fr24
EGLL runways.egll_rw_sf
Export 'ALL_FT+'-based trajectories to 'SO6' formatexport_allft_so6
Export APDS (airport) dataexport_apds
Export "Event"-based trajectories to SO6 formatexport_event_so6
Export event-based NM trajectoriesexport_event_trajectory
Export the flight listexport_flight_info
Export FlightRadar24 flight movements at an airport in an interval of timeexport_flights_at_airport_fr24
Export FlightRadar24 flight movements for an interval of timeexport_flights_fr24
Export list of hourly-binned flights and aircraft infoexport_hourly_adsb
Export point profile from NM trajectoriesexport_model_trajectory
Export the flight list of movements at an airportexport_movements
Export FlightRadar24 position reports from flights flying around an airportexport_positions_at_airport_fr24
Extract FR24 flights list for a time interval at an airportexport_positions_fr24
Extract level segment from a list of position reports.extract_segment
Identify and filter outliersfilter_outlier
Retain only positions within a range from a location.filter_positions_at_range
Sample FlightRadar24's archived feed ADS-B flight data.flts
Export trajectory profiles to SO6 formatgenerate_so6
Parse PRISME Airspace formatparse_airspace_prisme
Parse latitude in ICAO formatparse_lat_icao
Parse longitude in ICAO formatparse_lon_icao
Plot CPR trajectories on a mapplot_cpr_horizontal
Plot the recorded positions of a flight on a map.plot_flight_horizontal
Plot the vertical profile of the recorded positions of a flight from lapsed distance perspective.plot_flight_vertical_distance
Plot the vertical profile of the recorded positions of a flight from lapsed time perspective.plot_flight_vertical_time
Generate the polygon at distance d from a geographical locationpolygon_at_distance
Return a polygon from (WGS84) coordinatespolygon_from_coords
Sample FlightRadar24's archived feed ADS-B position reports data.poss
Read Network Manager's archived CPR fileread_cpr
Read FR24's archived flights information for a day.read_flights_fr24
Read FR24's archived positions information for a flight.read_positions_fr24
Read SO6 fileread_so6
resample a bunch of flight trajectoriesresample
Smooth longitude, latitude and altitude.smooth_positions
Get path to trrrj examplestrrrj_example