{"action":"closed","issue":{"url":"https://api.github.com/repos/maxogden/dat/issues/298","repository_url":"https://api.github.com/repos/maxogden/dat","labels_url":"https://api.github.com/repos/maxogden/dat/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/maxogden/dat/issues/298/comments","events_url":"https://api.github.com/repos/maxogden/dat/issues/298/events","html_url":"https://github.com/maxogden/dat/issues/298","id":67410271,"number":298,"title":"nested dats","user":{"login":"maxogden","id":39759,"avatar_url":"https://avatars.githubusercontent.com/u/39759?v=3","gravatar_id":"","url":"https://api.github.com/users/maxogden","html_url":"https://github.com/maxogden","followers_url":"https://api.github.com/users/maxogden/followers","following_url":"https://api.github.com/users/maxogden/following{/other_user}","gists_url":"https://api.github.com/users/maxogden/gists{/gist_id}","starred_url":"https://api.github.com/users/maxogden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxogden/subscriptions","organizations_url":"https://api.github.com/users/maxogden/orgs","repos_url":"https://api.github.com/users/maxogden/repos","events_url":"https://api.github.com/users/maxogden/events{/privacy}","received_events_url":"https://api.github.com/users/maxogden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/maxogden/dat/labels/discussion","name":"discussion","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-09T17:25:03Z","updated_at":"2016-02-10T23:44:32Z","closed_at":"2016-02-10T23:44:32Z","body":"opening for feedback/discussion\r\n\r\nwe are talking about the dat folder structure. Here are two proposals (A on the left, B on the right)\r\n\r\n![screen shot 2015-04-09 at 10 20 50 am](https://cloud.githubusercontent.com/assets/39759/7072549/38228310-dea2-11e4-9368-6b59c0b38043.png)\r\n\r\nI'm inclined to go with B, as having everything in a folder like `datasets` (along the lines of `bower` or `node_modules`) seems unnecessarily namespaced. The `dat clone` can just bail or append `-1` to folder names if you try and clone into something with a clashing folder name.\r\n\r\nWith B, from the root, you could do e.g. `dat cat sweden population`, or `cd sweden/population && dat cat` and it would be the same\r\n\r\nAnother cool thing about this is we could implement dataset dependencies in the future.... but that's a separate discussion\r\n\r\nInside each dat repo there will be a `dat.json` for config (name, description etc) and a `.dat` folder where the graph lives. Inside each named dataset folder it could either be another nested dat repo or a dataset, in the latter case it would just be a separate leveldb for that specific dataset (see the beta [datasets](https://github.com/maxogden/dat/blob/beta/beta-cli-api.md#dat-datasets) for more info)"}}