README.md

openskyr

R build
status Coverage
Status

This package provides a list of functions to facilitate access to the data offered by OpenSky-Network in its REST API.

Installation

You can install the latest version of openskyr from Github with the following command. In the future, you can install the library from CRAN.

# Install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("luisgasco/openskyr")

Usage

Retrieve any state vector of the OpenSky data without authentication:

state_vectors_df <- get_state_vectors()

Retrieve any state vector of the OpenSky data with authentication (you need to register in opensky-network):

state_vectors_df <- get_state_vectors(username="your_username",password="your_password")

Retrieve flights for a certain airport which departed within a given time interval [begin, end]:

data_airport_df <- get_airport_data(username="your_username",password="your_password",
                                     option="departures",airport="EDDF",
                                     begin=1517227200,end=1517230800)

Retrieve flights for a particular aircraft within a certain time interval:

data_specific_flight <- get_flights_data(username="your_username",password="your_password",
                                         icao24="3c675a",begin=1517184000,end=1517270400)

Retrieves flights for a certain time interval [begin, end]:

data_all_flight <- get_flights_data(username="your_username",password="your_password",
                                    begin=1517227200,end=1517230800)

Retrieve the trajectory for a certain aircraft at a given time:

data_flight_track <- get_track_data(username=username,password="your_password",
                                    icao24="494103",time=1587126600)

You may also like…

luisgasco.es · GitHub: @luisgasco · Twitter: @luisgasco · Facebook: Luis Gascó Sánchez page



luisgasco/Ropensky documentation built on May 10, 2020, 7:33 a.m.