Closed mborsetti closed 4 years ago
Quick question: are you planning on merging these 679 airports?
This PR has been implemented in fork of this project housed at https://github.com/mborsetti/airportsdata, which is also available for those using Python over pip:
pip install airportsdata
To load the data into a dict:
import airportsdata
airports = airportsdata.load() # key is ICAO code
or
import airportsdata
airports = airportsdata.load('IATA') # key is IATA code
Programmatically tested all ICAO codes starting with "K" (US mainland) against an IATA database of 9088 Location Codes obtained from https://www.iata.org/en/publications/directories/code-search and found 679 instances where the cities matched. Added the IATA code to those 679 instances.
As a result of doing so programmatically, json file has lost trailing zeros after the decimal point, increasing the number of diffs beyond 679 but not affecting precision of data.