Skip to contents

The airac package helps with determining the ICAO’s AIRAC ID or the relevant date intervals as used internationally and by the data services of the European Network Manager.

AIRAC stands for Aeronautical Information Regulation and Control and it indicates the period used to publish and disseminate changes to aeronautical data.

Installation

You can install the development version of airac like so:

library(remotes)
install_github("euctrl-pru/pruatlas")

Example

You may be interested to know which period corresponfs to AIRAC ‘2307’

library(airac)

airac_interval("2307")
#> [1] 2023-07-13 UTC--2023-08-10 UTC

or which AIRAC number is needed to download data on 1st Feb 2023 from EUROCONTROL’s Network Manager DDR2 repository:

library(airac)

cfmu_airac("2023-02-01")
#> [1] 500

Development

In order to build the relevant pkgdown web pages, 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())

Note that the pkgdown website is generated automatically via GitHub Actions and published on a separate branch. it will then be served by GitHub Pages as per repo configuration.