read_positions_fr24
returns all position reports as archived by FR24
for a given flight_id
flown on a specific day (see path
parameter for how the date and flight ID are encoded).
Value
a data frame of the archived flight's positions for date <yyyymmdd>
.
Each position report has the following attributes (all mandatory, i.e. non empty,
but speed
, squawk
and vert_speed
):
flight_id
FR24 unique (within a day?) flight leg identifiertimestamp
snapshot_id
converted to a date/timesnapshot_id
time of sample in Unix epoch seconds, i.e. since 1st Jan 1970 00:00:00 UTCaltitude
altitude (feet). Barometric relative to ISO 1013 hPa pressure in flight, always 0 on ground.heading
0-359 degreeslatitude
latitude in decimal degreeslongitude
longitude in decimal degreesradar_id
unique identifier of primary ground receiverspeed
ground speed (knots)squawk
code broadcast by airplane, represented as four octal digitsvert_speed
vertical speed (feet/min). Calculated from rate of altitude changes, 0 for level flight or empty if unavailableon_ground
1 for on ground, 0 for airborne. Calculated from low altitude and ground speed
Details
The positions listed are the ones known to FR24 and fitting the the bounding box as contractually agreed.
See also
Other read/export:
export_allft_so6()
,
export_apds()
,
export_event_so6()
,
export_event_trajectory()
,
export_flight_info()
,
export_flights_at_airport_fr24()
,
export_flights_fr24()
,
export_hourly_adsb()
,
export_model_trajectory()
,
export_movements()
,
export_positions_at_airport_fr24()
,
export_positions_fr24()
,
generate_so6()
,
parse_airspace_prisme()
,
read_cpr()
,
read_flights_fr24()
,
read_so6()
Examples
if (FALSE) {
# positions, as recorded by FR24, for flight 207535493 on 20170205 (5th Feb 2017)
pos_fr24_file <- system.file("extdata",
"20170205_positions",
"20170205_207535493.csv",
package = "trrrj")
read_positions_fr24(pos_fr24_file)
}