mwgg / Airports

A JSON database of 28k+ airports with ICAO/IATA codes, names, cities, two-letter country identifiers, elevation, latitude & longitude, and a timezone identifier
MIT License
488 stars 175 forks source link

CYYG province correction #50

Closed gregorosaurus closed 3 years ago

gregorosaurus commented 3 years ago

Charlottetown is in PEI, not Newfoundland. Simple change to reflect this.

Thanks!

mborsetti commented 3 years ago

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