{"action":"opened","issue":{"url":"https://api.github.com/repos/blab/nextstrain-auspice/issues/21","repository_url":"https://api.github.com/repos/blab/nextstrain-auspice","labels_url":"https://api.github.com/repos/blab/nextstrain-auspice/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/blab/nextstrain-auspice/issues/21/comments","events_url":"https://api.github.com/repos/blab/nextstrain-auspice/issues/21/events","html_url":"https://github.com/blab/nextstrain-auspice/issues/21","id":174605750,"number":21,"title":"Datasets and query params","user":{"login":"trvrb","id":1176109,"avatar_url":"https://avatars.githubusercontent.com/u/1176109?v=3","gravatar_id":"","url":"https://api.github.com/users/trvrb","html_url":"https://github.com/trvrb","followers_url":"https://api.github.com/users/trvrb/followers","following_url":"https://api.github.com/users/trvrb/following{/other_user}","gists_url":"https://api.github.com/users/trvrb/gists{/gist_id}","starred_url":"https://api.github.com/users/trvrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trvrb/subscriptions","organizations_url":"https://api.github.com/users/trvrb/orgs","repos_url":"https://api.github.com/users/trvrb/repos","events_url":"https://api.github.com/users/trvrb/events{/privacy}","received_events_url":"https://api.github.com/users/trvrb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-01T19:28:51Z","updated_at":"2016-09-01T19:28:51Z","closed_at":null,"body":"We should have a config JSON that gives all the options for which datasets can be loaded. This will look something like:\r\n\r\n```\r\n{\r\n\"viruses\": {\r\n  \"flu\": {\r\n    \"lineage\": {\r\n      \"H3N2\": {\r\n        \"duration\": {\r\n        \"3y\",\r\n        \"6y\",\r\n        \"12y\" }\r\n      },\r\n     \"H1N1pdm\": {\r\n        \"duration\": {\r\n        \"3y\",\r\n        \"6y\",\r\n        \"12y\" }\r\n      }      \r\n    }\r\n  },\r\n  \"zika\": {}\r\n  }\r\n}\r\n```\r\n\r\nThis should be used to create a dataset file string. If this string changes then data should be refetched.\r\n\r\nWhenever query params come in, go through this JSON and build dataset."}}
{"actor":{"display_login":"trvrb"}}