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
516 stars 184 forks source link

CZBF Province Fix #46

Closed gregorosaurus closed 3 years ago

gregorosaurus commented 4 years ago

The province for CZBF does not contain a dash. (New Brunswick). Removal of dash to have the same province as all other NB provinces.

mborsetti commented 4 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