Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][s] Update README.md #48

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Description

The airport codes may refer to either [IATA](http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code)
airport code, a three-letter code which is used in passenger reservation, ticketing and baggage-handling systems, or the [ICAO](http://en.wikipedia.org/wiki/International_Civil_Aviation_Organization_airport_code) airport code
which is a four letter code used by ATC systems and for airports that do not have an IATA airport code (from wikipedia).
Expand All @@ -9,17 +11,23 @@ Airport codes from around the world. Downloaded from public domain source http:/
"data/airport-codes.csv" contains the list of all airport codes, the attributes are identified in datapackage description. Some of the columns contain attributes identifying airport locations, other codes (IATA, local if exist) that are relevant to identification of an airport.
Original source url is http://ourairports.com/data/airports.csv (stored in archive/data.csv)

> Note: Currently the scripts is run automatically using Github Actions

## Preparation

You will need Python 3.6 or greater and [dataflows](https://pypi.org/project/dataflows/) library to run the script

To update the data run the process script locally:
```bash
# Install dataflows
pip install dataflows
# To run locally you should do this
# Install using requirements
pip install -r scripts/requirements.txt
python3 scripts/process.py
python3 scripts/airport-codes-flow.py

# Run the script
python airport-codes-flow.py
make run
make clean
```

Several steps will be done to get the final data.
Expand Down
Loading