{"html_url": "https://github.com/simonw/datasette/issues/233#issuecomment-397840676", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/233", "id": 397840676, "node_id": "MDEyOklzc3VlQ29tbWVudDM5Nzg0MDY3Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T21:49:50Z", "updated_at": "2018-06-16T21:49:50Z", "author_association": "OWNER", "body": "For the moment I'm going with `_labels=`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316444720, "label": "Option to expose expanded foreign keys in JSON/CSV"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/311#issuecomment-397841968", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/311", "id": 397841968, "node_id": "MDEyOklzc3VlQ29tbWVudDM5Nzg0MTk2OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T22:20:31Z", "updated_at": "2018-06-16T22:20:31Z", "author_association": "OWNER", "body": "I merged this manually in ed631e690b81e34fcaeaba1f16c9166f1c505990", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 332998752, "label": "?_labels=1 to expand foreign keys (in csv and json), refs #233"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/233#issuecomment-397842194", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/233", "id": 397842194, "node_id": "MDEyOklzc3VlQ29tbWVudDM5Nzg0MjE5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T22:26:21Z", "updated_at": "2018-06-16T22:26:21Z", "author_association": "OWNER", "body": "Some demos:\r\n\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List - regular HTML view\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List?_labels=off - no labels\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.json?_labels=on - JSON with all labels\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.json?_label=qSpecies&_shape=array - JSON with specific labels in array shape\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.csv?_labels=on - CSV with all labels\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.csv?_label=qSpecies - CSV with specific labels", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316444720, "label": "Option to expose expanded foreign keys in JSON/CSV"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/266#issuecomment-397842246", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/266", "id": 397842246, "node_id": "MDEyOklzc3VlQ29tbWVudDM5Nzg0MjI0Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T22:27:59Z", "updated_at": "2018-06-16T22:27:59Z", "author_association": "OWNER", "body": "Two demos of the new functionality in #233 as it applies to CSV:\r\n\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.csv?_labels=on - CSV with all foreign key columns expanded\r\n* https://datasette-labels-demo.now.sh/sf-trees-02c8ef1/Street_Tree_List.csv?_label=qSpecies - CSV with specific columns expanded", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 323681589, "label": "Export to CSV"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/311#issuecomment-397823913", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/311", "id": 397823913, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzgyMzkxMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T16:32:07Z", "updated_at": "2018-06-16T16:48:48Z", "author_association": "OWNER", "body": "Still todo:\r\n\r\n- [ ] HTML view to obey the ?_labels=1 param (it throws an error at the moment)\r\n- [ ] `?_label=one&_label=2` support for only expanding specific labels\r\n- [ ] Better docs", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 332998752, "label": "?_labels=1 to expand foreign keys (in csv and json), refs #233"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/233#issuecomment-397824991", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/233", "id": 397824991, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzgyNDk5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T16:50:31Z", "updated_at": "2018-06-16T16:50:42Z", "author_association": "OWNER", "body": "I'm going to support `?_labels=` on HTML views, but I'll allow it to be used to turn them off (they are on by default) using `?_labels=off`.\r\n\r\nRelated: 7e0caa1e62607c6579101cc0e62bec8899013715 where I added a new `value_as_boolean` helper extracted from how `--config` works in `cli.py`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316444720, "label": "Option to expose expanded foreign keys in JSON/CSV"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/312#issuecomment-397825583", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/312", "id": 397825583, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzgyNTU4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T17:00:12Z", "updated_at": "2018-06-16T17:00:12Z", "author_association": "OWNER", "body": "This is already covered by #292 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 333000163, "label": "HTML, CSV and JSON views should support ?_col=&_col="}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/233#issuecomment-397839482", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/233", "id": 397839482, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzgzOTQ4Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T21:21:03Z", "updated_at": "2018-06-16T21:21:03Z", "author_association": "OWNER", "body": "Should facets always have their labels expanded or should they also obey the `_labels` and `_label` querystring arguments?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316444720, "label": "Option to expose expanded foreign keys in JSON/CSV"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/233#issuecomment-397839583", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/233", "id": 397839583, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NzgzOTU4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-16T21:23:14Z", "updated_at": "2018-06-16T21:23:44Z", "author_association": "OWNER", "body": "I'm a bit torn on naming - choices are:\r\n\r\n* `?_labels=on` and `?_label=col1&_label=col2`\r\n* `?_expands=on` (or `?_expand_all=on`) and `?_expand=col1&_expand=col2`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316444720, "label": "Option to expose expanded foreign keys in JSON/CSV"}, "performed_via_github_app": null}