Airports is a collection of all known airports. Data source is https://github.com/davidmegginson/ourairports-data
If available in Hex, the package can be installed
by adding airports to your list of dependencies in mix.exs:
def deps do
[{:airports, "~> 1.0"}]
endAirports depends on tz_world for timezone data. Update airports and timezone data by running the following command:
mix airports.updateThis command will automatically download the latest airports data from the data source, put timezone data for each airport, and save it to priv/airports.csv and priv/airports_with_tz.csv respectively.
Before opening a pull request, please open an issue first.
Once we've decided how to move forward with a pull request:
$ git clone https://github.com/nerds-and-company/airports.git
$ cd airports
$ mix deps.get
$ mix test
Once you've made your additions and mix test passes, go ahead and open a PR!