knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
This package provides a list of functions to facilitate access to the data offered by OpenSkyNetwork in its REST API.
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")
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)
luisgasco.es · GitHub: \@luisgasco · Twitter: \@luisgasco · Facebook: Luis Gascó Sánchez page
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.