{"html_url": "https://github.com/simonw/datasette/issues/251#issuecomment-388987044", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/251", "id": 388987044, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODk4NzA0NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T22:47:55Z", "updated_at": "2018-05-14T22:47:55Z", "author_association": "OWNER", "body": "This work is now happening in the facets branch. Closing this in favor of #255.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 320592643, "label": "Explore \"distinct values for column\" in inspect()"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/255#issuecomment-388686463", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/255", "id": 388686463, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODY4NjQ2Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T03:23:44Z", "updated_at": "2018-05-14T03:25:22Z", "author_association": "OWNER", "body": "It would be neat if there was a mechanism for calculating aggregates per facet - e.g. calculating the sum() of specific columns against each facet result on https://datasette-facets-demo.now.sh/fivethirtyeight-2628db9/nba-elo%2Fnbaallelo?_facet=lg_id&_facet=fran_id&lg_id=ABA&_facet=team_id", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322477187, "label": "Facets"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/255#issuecomment-388784063", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/255", "id": 388784063, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODc4NDA2Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T11:25:00Z", "updated_at": "2018-05-14T11:25:15Z", "author_association": "OWNER", "body": "Can I get facets working across many2many relationships?\r\n\r\nThis would be fiendishly useful, but the querystring and `metadata.json` syntax is non-obvious.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322477187, "label": "Facets"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/255#issuecomment-388784787", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/255", "id": 388784787, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODc4NDc4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T11:28:05Z", "updated_at": "2018-05-14T11:28:05Z", "author_association": "OWNER", "body": "To decide which facets to suggest: for each column, is the unique value count less than the number of rows matching the current query or is it less than 20 (if we are showing more than 20 rows)?\r\n\r\nMaybe only do this if there are less than ten non-float columns. Or always try for foreign keys and booleans, then if there are none of those try indexed text and integer fields, then finally try non-indexed text and integer fields but only if there are less than ten.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322477187, "label": "Facets"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/256#issuecomment-388684356", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/256", "id": 388684356, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODY4NDM1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T03:05:37Z", "updated_at": "2018-05-14T03:05:37Z", "author_association": "OWNER", "body": "I just landed pull request #257 - I haven't refactored the tests, I may do that later if it looks worthwhile.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322551723, "label": "Break up app.py into separate view modules"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/259#issuecomment-388797919", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/259", "id": 388797919, "node_id": "MDEyOklzc3VlQ29tbWVudDM4ODc5NzkxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-14T12:23:11Z", "updated_at": "2018-05-14T12:23:11Z", "author_association": "OWNER", "body": "For M2M to work we will need a mechanism for applying IN queries to the table view, so you can select multiple M2M filters. Maybe this would work:\r\n\r\n ?_m2m_category=123&_m2m_category=865", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 322787470, "label": "inspect() should detect many-to-many relationships"}, "performed_via_github_app": null}