{"id":21914509,"url":"https://github.com/ayman/greatcircles","last_synced_at":"2025-04-16T14:39:04.361Z","repository":{"id":16841423,"uuid":"19601135","full_name":"ayman/GreatCircles","owner":"ayman","description":"A demo of making great circle plots and treemaps in R from airport codes.","archived":false,"fork":false,"pushed_at":"2017-03-28T11:09:06.000Z","size":7709,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:23:25.825Z","etag":null,"topics":["airports","geo","projection-mapping","r","treemap"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-09T06:14:08.000Z","updated_at":"2017-04-06T22:32:37.000Z","dependencies_parsed_at":"2022-08-04T11:45:22.436Z","dependency_job_id":null,"html_url":"https://github.com/ayman/GreatCircles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman%2FGreatCircles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman%2FGreatCircles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman%2FGreatCircles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayman%2FGreatCircles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayman","download_url":"https://codeload.github.com/ayman/GreatCircles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250939,"owners_count":21237965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airports","geo","projection-mapping","r","treemap"],"created_at":"2024-11-28T18:28:27.779Z","updated_at":"2025-04-16T14:39:04.334Z","avatar_url":"https://github.com/ayman.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"GreatCircles\n============\n\nThis is a demo of making great circle plots in R from airport codes\nusing a very bad map projection.  I mean the point is, it's cool\nlooking. Map, archs, points, geo-locating.  Pretty neat. Get a dump of\nyour fight data and map where you've been and what airline.\n\nThen you'll realize, while pretty, it's kinda worthless as a\nvisual. So then we make a treemap.  None of that pesky math, and it\ntells you much easier where you go and on what carrier.\n\n## Setup ##\n\nThe code here is setup to use a dump\nfrom [openflights.org](http://openflights.org/) but the sample data is\njust a subset.  The full code is inline and commented out if you get a\nfull export. We'll make a pretty map with great circle plots to show\nyou every where you flew.  Then we'll break it down by carrier.\n\nFor the point of this instructional, you'll need the following librarires:\n\n* `car`\n* `maps`\n* `ggplot2`\n* `geosphere`\n* `parallel`\n* `treemap`\n\nThe `parallel` package is just fun of it really.  I mean I have\nseveral cores, why not use most of them. The code itself is documented\nexplaining the step by step.  Just source the `start.R` code.  This\ncode was put together for a talk to\nthe [Singapore R Users group](http://www.meetup.com/R-User-Group-SG/)\nand then expanded for\na\n[WWW 2017 tutorial](https://sites.google.com/view/geocycle-www17/home)\n\nThe data in `flights.csv` is fictional.  Just so you know that Virgin\nAmerica ~~doesn't~~didn't have a SFO to SFO flight.  There are several good\n[Airport Databases](http://www.partow.net/miscellaneous/airportdatabase/)\naround the web too.\n\nFlight Map\n----------\n![Great Circle Map](https://github.com/ayman/GreatCircles/blob/master/plot.map.png?raw=true)\n\nTree Map\n--------\n![Tree Map](https://github.com/ayman/GreatCircles/blob/master/plot.tm.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayman%2Fgreatcircles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayman%2Fgreatcircles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayman%2Fgreatcircles/lists"}