{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/switchlist/issues/40","labels_url":"https://api.github.com/repos/chrsmith/switchlist/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/switchlist/issues/40/comments","events_url":"https://api.github.com/repos/chrsmith/switchlist/issues/40/events","html_url":"https://github.com/chrsmith/switchlist/issues/40","id":58929709,"number":40,"title":"Automatically suggest potential cargo","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/switchlist/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/switchlist/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/switchlist/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-25T16:40:13Z","updated_at":"2015-02-25T16:40:13Z","closed_at":"2015-02-25T16:40:13Z","body":"```\nOne way to make SwitchList particularly helpful would be to automatically \nsuggest a set of cargos each time someone creates / edits a new industry.  Upon \nentering a new industry (\"Campbell Lumber\", \"Oceanview Cannery\", SwitchList \ncould prompt to ask if you want some help choosing cargos, and if so, would \nopen a new window to show suggestions.\n\nSwitchList could start with a database similar to the OPSIG industry database.  \nA mapping of industry names to likely industry categories could be based on \nGoogle's Prediction API; Apple may have something similar built in.  Several \nlikely industries could be suggested (\"fish cannery? tomato cannery? fruit \ncannery?\"), along with era and location.  Once some of the choices have been \nmade, SwitchList could suggest several reasonable cargos for the industry.\n\nLikely sources/destinations could be used either to create offline industries \nor at least automatically suggest divisions.\n\nHere's an idea of what the database could contain:\nIndustry name and synonyms: lumberyard\t\nExamples (for training): Campbell Lumber, San Bruno Lumber, lumber yard\nReceives:\nera/material/source/percentage of total\n1930/lumber/westwood/100\n1950/lumber/oregon/100\n1970/lumber/oregon/100\n1990/lumber/canada/100\n2010/lumber/canada/100\nShips:\n\nIndustry name and synonyms: tomato cannery / cannery\nExamples: Del Monte Cannery, Woelffel Cannery, Libby's,\tWestminster Packing Co.\nReceives:\n1930/cans/staging/10\n1930/fresh fruit/staging/20\nShips:\n1930/canned fruit/east coast/40\n1930/canned fruit/midwest/30\n\nI've attached a sample screenshot for the window to let users choose the cargos \nthey want.\n```\n\n-----\nOriginal issue reported on code.google.com by `rwbowdi...@gmail.com` on 12 Aug 2012 at 6:40\n\nAttachments:\n* [Automatic cargo generation mock.png](https://storage.googleapis.com/google-code-attachments/switchlist/issue-40/comment-0/Automatic cargo generation mock.png)\n"},"comment":{"url":"https://api.github.com/repos/chrsmith/switchlist/issues/comments/75995349","html_url":"https://github.com/chrsmith/switchlist/issues/40#issuecomment-75995349","issue_url":"https://api.github.com/repos/chrsmith/switchlist/issues/40","id":75995349,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T16:40:13Z","updated_at":"2015-02-25T16:40:13Z","body":"```\nFirst version in SwitchList 1.1.1.\n```\n\n-----\nOriginal comment by `rwbowdi...@gmail.com` on 4 Sep 2012 at 4:01\n* Changed state: **Fixed**"}}