Skip to content

Commit

Permalink
Update data
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action committed Jan 25, 2025
1 parent dc36812 commit b2b5656
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions archive/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -23595,7 +23595,7 @@
2404,"EGHQ","medium_airport","Cornwall Airport Newquay",50.440601,-4.99541,390,"EU","GB","GB-ENG","Newquay","yes","EGHQ","NQY",,"https://www.cornwallairportnewquay.com/","https://en.wikipedia.org/wiki/Newquay_Airport","St Mawgan, EGDG"
29148,"EGHR","small_airport","Goodwood Aerodrome",50.859832,-0.760073,98,"EU","GB","GB-ENG","Chichester, West Sussex","no","EGHR","QUG",,"http://www.goodwood.co.uk/aviation/","https://en.wikipedia.org/wiki/Chichester/Goodwood_Airport","RAF Westhampnett"
29149,"EGHS","small_airport","Henstridge Airfield",50.985001,-2.35722,184,"EU","GB","GB-ENG","Templecombe, Somerset","no","EGHS",,,"http://www.henstridgeairfield.com/","https://en.wikipedia.org/wiki/RNAS_Henstridge","Lower Marsh, HMS Dipper, RNAS Henstridge"
35157,"EGHT","heliport","Tresco Heliport",49.94559860229492,-6.331389904022217,20,"EU","GB","GB-ENG","Tresco","no","EGHT",,,,"https://en.wikipedia.org/wiki/Tresco_Heliport",
35157,"EGHT","heliport","Tresco Heliport",49.945599,-6.33139,20,"EU","GB","GB-ENG","Tresco, Isles of Scilly","no","EGHT",,,"https://www.tresco.co.uk/arriving/tresco-heliport","https://en.wikipedia.org/wiki/Tresco_Heliport",
29150,"EGHU","small_airport","Eaglescott Airfield",50.928651,-3.988446,655,"EU","GB","GB-ENG","Umberleigh, Devon","no","EGHU",,,,"https://en.wikipedia.org/wiki/Eaglescott_Airfield",
29151,"EGHY","small_airport","Truro Aerodrome",50.2784,-5.14229,127,"EU","GB","GB-ENG","Truro","no","EGHY",,,,"https://en.wikipedia.org/wiki/Truro_Aerodrome",
2424,"EGJA","medium_airport","Alderney Airport",49.706104,-2.21472,290,"EU","GG","GG-A","Saint Anne","yes","EGJA","ACI",,,"https://en.wikipedia.org/wiki/Alderney_Airport","The Blaye, Channel Islands"
Expand Down Expand Up @@ -28339,7 +28339,7 @@
315672,"GB-0177","small_airport","Great Oakley Airfield",51.912343,1.182142,75,"EU","GB","GB-ENG","Harwich, Essex","no",,,,,,
315685,"GB-0178","closed","Sproston Green Airfield",53.185532,-2.385957,167,"EU","GB","GB-ENG","Middlewich, Cheshire East.","no",,,,,,
315686,"GB-0179","small_airport","Wombleton Airfield",54.231147,-0.974655,125,"EU","GB","GB-ENG","York, North Yorkshire","no",,,,,,"RAF Wombleton"
315788,"GB-0180","small_airport","Strathaven Airfield",55.679968,-4.113381,847,"EU","GB","GB-SCT","Strathaven, Lanarkshire","no",,,,"http://www.strathavenairfield.co.uk",,
315788,"GB-0180","small_airport","Strathaven Airfield",55.679968,-4.113381,847,"EU","GB","GB-SCT","Strathaven, South Lanarkshire","no",,,,"http://www.strathavenairfield.co.uk",,
315912,"GB-0181","small_airport","East Fortune Airfield",56.000849,-2.735324,122,"EU","GB","GB-SCT","North Berwick, East Lothian","no",,,,"http://www.eosm.co.uk","https://en.wikipedia.org/wiki/RAF_East_Fortune","RAF East Fortune"
315913,"GB-0182","small_airport","East Kirkby Airfield",53.13758,0.002098,40,"EU","GB","GB-ENG","Spilsby, Lincolnshire","no",,,,,"https://en.wikipedia.org/wiki/RAF_East_Kirkby","RAF East Kirkby"
315929,"GB-0183","small_airport","Willow Farm Airstrip",53.421725,-0.910137,20,"EU","GB","GB-ENG","Doncaster, South Yorkshire","no",,,,,,
Expand Down Expand Up @@ -29361,6 +29361,7 @@
573709,"GB-1199","small_airport","South Hykeham Airfield",53.173055,-0.605224,23,"EU","GB","GB-ENG","South Hykeham, Lincolnshire","no",,,,,,
573778,"GB-1200","seaplane_base","Loch Tay Water Aerodrome",56.556975,-4.102392,335,"EU","GB","GB-SCT","Kenmore, Perth and Kinross","no",,,,,,
573783,"GB-1201","seaplane_base","Loch Voil Water Aerodrome",56.345,-4.44,413,"EU","GB","GB-SCT","Balquhidder, Stirling","no",,,,,,
573941,"GB-1202","heliport","Withybush Hospital Heliport",51.814032,-4.964338,92,"EU","GB","GB-WLS","Haverfordwest, Pembrokeshire","no",,,,"https://hduhb.nhs.wales/healthcare/hospitals-and-centres/hospitals/withybush-hospital/",,
30935,"GB-DOC","small_airport","Dornoch Airfield",57.868999,-4.023,1,"EU","GB","GB-SCT","Dornoch, Sunderland","no",,"DOC",,"http://www.dornochairfield.com/",,"EG08, EGZJ"
31147,"GB-FLH","small_airport","Flotta Isle Airstrip",58.825802,-3.14278,50,"EU","GB","GB-SCT","Flotta Isle","no",,"FLH",,,"https://en.wikipedia.org/wiki/Flotta_Isle_Airport","EGZR"
31199,"GB-FOA","small_airport","Foula Airfield",60.121725,-2.053202,150,"EU","GB","GB-SCT","Foula","yes",,"FOA",,,"https://en.wikipedia.org/wiki/Foula_Airfield","EGFO"
Expand Down
5 changes: 3 additions & 2 deletions data/airport-codes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -23595,7 +23595,7 @@ EGHP,small_airport,Popham Airfield,550,EU,GB,GB-ENG,"Winchester, Hampshire",EGHP
EGHQ,medium_airport,Cornwall Airport Newquay,390,EU,GB,GB-ENG,Newquay,EGHQ,NQY,,"50.440601, -4.99541"
EGHR,small_airport,Goodwood Aerodrome,98,EU,GB,GB-ENG,"Chichester, West Sussex",EGHR,QUG,,"50.859832, -0.760073"
EGHS,small_airport,Henstridge Airfield,184,EU,GB,GB-ENG,"Templecombe, Somerset",EGHS,,,"50.985001, -2.35722"
EGHT,heliport,Tresco Heliport,20,EU,GB,GB-ENG,Tresco,EGHT,,,"49.94559860229492, -6.331389904022217"
EGHT,heliport,Tresco Heliport,20,EU,GB,GB-ENG,"Tresco, Isles of Scilly",EGHT,,,"49.945599, -6.33139"
EGHU,small_airport,Eaglescott Airfield,655,EU,GB,GB-ENG,"Umberleigh, Devon",EGHU,,,"50.928651, -3.988446"
EGHY,small_airport,Truro Aerodrome,127,EU,GB,GB-ENG,Truro,EGHY,,,"50.2784, -5.14229"
EGJA,medium_airport,Alderney Airport,290,EU,GG,GG-A,Saint Anne,EGJA,ACI,,"49.706104, -2.21472"
Expand Down Expand Up @@ -28339,7 +28339,7 @@ GB-0176,small_airport,Jackrells Farm Airstrip,,EU,GB,GB-ENG,"Horsham, West Susse
GB-0177,small_airport,Great Oakley Airfield,75,EU,GB,GB-ENG,"Harwich, Essex",,,,"51.912343, 1.182142"
GB-0178,closed,Sproston Green Airfield,167,EU,GB,GB-ENG,"Middlewich, Cheshire East.",,,,"53.185532, -2.385957"
GB-0179,small_airport,Wombleton Airfield,125,EU,GB,GB-ENG,"York, North Yorkshire",,,,"54.231147, -0.974655"
GB-0180,small_airport,Strathaven Airfield,847,EU,GB,GB-SCT,"Strathaven, Lanarkshire",,,,"55.679968, -4.113381"
GB-0180,small_airport,Strathaven Airfield,847,EU,GB,GB-SCT,"Strathaven, South Lanarkshire",,,,"55.679968, -4.113381"
GB-0181,small_airport,East Fortune Airfield,122,EU,GB,GB-SCT,"North Berwick, East Lothian",,,,"56.000849, -2.735324"
GB-0182,small_airport,East Kirkby Airfield,40,EU,GB,GB-ENG,"Spilsby, Lincolnshire",,,,"53.13758, 0.002098"
GB-0183,small_airport,Willow Farm Airstrip,20,EU,GB,GB-ENG,"Doncaster, South Yorkshire",,,,"53.421725, -0.910137"
Expand Down Expand Up @@ -29361,6 +29361,7 @@ GB-1198,closed,RAF Clyffe Pypard,653,EU,GB,GB-ENG,"Clyffe Pypard, Wiltshire",,,,
GB-1199,small_airport,South Hykeham Airfield,23,EU,GB,GB-ENG,"South Hykeham, Lincolnshire",,,,"53.173055, -0.605224"
GB-1200,seaplane_base,Loch Tay Water Aerodrome,335,EU,GB,GB-SCT,"Kenmore, Perth and Kinross",,,,"56.556975, -4.102392"
GB-1201,seaplane_base,Loch Voil Water Aerodrome,413,EU,GB,GB-SCT,"Balquhidder, Stirling",,,,"56.345, -4.44"
GB-1202,heliport,Withybush Hospital Heliport,92,EU,GB,GB-WLS,"Haverfordwest, Pembrokeshire",,,,"51.814032, -4.964338"
GB-DOC,small_airport,Dornoch Airfield,1,EU,GB,GB-SCT,"Dornoch, Sunderland",,DOC,,"57.868999, -4.023"
GB-FLH,small_airport,Flotta Isle Airstrip,50,EU,GB,GB-SCT,Flotta Isle,,FLH,,"58.825802, -3.14278"
GB-FOA,small_airport,Foula Airfield,150,EU,GB,GB-SCT,Foula,,FOA,,"60.121725, -2.053202"
Expand Down
10 changes: 5 additions & 5 deletions datapackage.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"bytes": 8366509,
"bytes": 8366635,
"collection": "reference-data",
"count_of_rows": 81956,
"count_of_rows": 81957,
"description": "Data contains the list of all airport codes,\nthe attributes are listed in the table schema. Some of the columns\ncontain attributes identifying airport locations,\nother codes (IATA, local if exist) that are relevant to\nidentification of an airport.",
"has_premium": true,
"has_solutions": [
"global-country-region-reference-data"
],
"hash": "d9d07688c7d7f3a1b58769ab1b42baf8",
"hash": "e87b34772b5c3b5d958ee9400b503145",
"homepage": "http://www.ourairports.com/",
"licenses": [
{
Expand All @@ -22,7 +22,7 @@
"readme": "<a className=\"gh-badge\" href=\"https://datahub.io/core/airport-codes\"><img src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg&label&scale=1.25\" alt=\"badge\" /></a>\n\n## Description\n\nThe 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> Note: Currently the scripts is run automatically using Github Actions\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# To run locally you should do this\n# Install using requirements\npip install -r scripts/requirements.txt\npython3 scripts/process.py\npython3 scripts/airport-codes-flow.py\n\n# Run the script\nmake run\nmake clean\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": 8366509,
"bytes": 8366635,
"dialect": {
"caseSensitiveHeader": false,
"delimiter": ",",
Expand All @@ -34,7 +34,7 @@
},
"encoding": "utf-8",
"format": "csv",
"hash": "80ab219fa10464ec14ed6d868a5a5242",
"hash": "ed0884373b970d5f5572e6f10089123c",
"name": "airport-codes",
"path": "data/airport-codes.csv",
"profile": "tabular-data-resource",
Expand Down

0 comments on commit b2b5656

Please sign in to comment.