{ "bytes": 7819075, "count_of_rows": 75848, "hash": "ce0c09f97d4e552e17da2e566418b9e5", "homepage": "http://www.ourairports.com/", "licenses": [ { "id": "odc-pddl", "name": "open_data_commons_public_domain_dedication_and_license_v1.0", "path": "http://opendatacommons.org/licenses/pddl/", "title": "Open Data Commons Public Domain Dedication and License v1.0" } ], "name": "airport-codes", "profile": "data-package", "readme": "The airport codes may refer to either [IATA](http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code)\nairport 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\nwhich is a four letter code used by ATC systems and for airports that do not have an IATA airport code (from wikipedia).\n\nAirport codes from around the world. Downloaded from public domain source http://ourairports.com/data/ who compiled this data from multiple different sources. This data is updated nightly.\n\n## Data\n\n\"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. \nOriginal source url is http://ourairports.com/data/airports.csv (stored in archive/data.csv) \n\n## Preparation\n\nYou will need Python 3.6 or greater and [dataflows](https://pypi.org/project/dataflows/) library to run the script\n\nTo update the data run the process script locally:\n```bash\n# Install dataflows\npip install dataflows\n\n# Run the script\npython airport-codes-flow.py\n```\n\nSeveral steps will be done to get the final data.\n\n* merge columns \"latitude_deg\" and \"longitude_deg\" into \"coordinates\"\n* remove columns: \"id\", \"scheduled_service\", \"home_link\", \"wikipedia_link\", \"keywords\"\n\n## Automation\n\nDaily updated 'Airport codes' datapackage could be found on the [datahub.io](http://datahub.io/): \nhttps://datahub.io/core/airport-codes\n\n## License\n\nThe source specifies that the data can be used as is without any warranty. Given size and factual nature of the data and its source from a US company would imagine this was public domain and as such have licensed the Data Package under the Public Domain Dedication and License (PDDL).\n", "resources": [ { "bytes": 7819075, "dialect": { "caseSensitiveHeader": false, "delimiter": ",", "doubleQuote": true, "header": true, "lineTerminator": "\r\n", "quoteChar": "\"", "skipInitialSpace": false }, "encoding": "utf-8", "format": "csv", "hash": "4badc1dece11281183ba93ba030583d0", "name": "airport-codes", "path": "data/airport-codes.csv", "profile": "tabular-data-resource", "schema": { "fields": [ { "format": "default", "name": "ident", "type": "string" }, { "format": "default", "name": "type", "type": "string" }, { "format": "default", "name": "name", "type": "string" }, { "format": "default", "name": "elevation_ft", "type": "integer" }, { "format": "default", "name": "continent", "type": "string" }, { "format": "default", "name": "iso_country", "type": "string" }, { "format": "default", "name": "iso_region", "type": "string" }, { "format": "default", "name": "municipality", "type": "string" }, { "format": "default", "name": "gps_code", "type": "string" }, { "format": "default", "name": "iata_code", "type": "string" }, { "format": "default", "name": "local_code", "type": "string" }, { "format": "default", "name": "coordinates", "type": "string" } ], "missingValues": [ "" ] } } ], "sources": [ { "name": "Our Airports", "path": "http://ourairports.com/data/", "title": "Our Airports" } ], "title": "Airport Codes", "version": "0.2.0" }