home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "OWNER" and issue = 273247186 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • simonw 4

issue 1

  • Support for title/source/license metadata · 4 ✖

author_association 1

  • OWNER · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
343951751 https://github.com/simonw/datasette/issues/68#issuecomment-343951751 https://api.github.com/repos/simonw/datasette/issues/68 MDEyOklzc3VlQ29tbWVudDM0Mzk1MTc1MQ== simonw 9599 2017-11-13T15:21:04Z 2017-11-13T15:21:04Z OWNER

For first version, I'm just supporting title, source and license information at the database level.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Support for title/source/license metadata 273247186  
343791348 https://github.com/simonw/datasette/issues/68#issuecomment-343791348 https://api.github.com/repos/simonw/datasette/issues/68 MDEyOklzc3VlQ29tbWVudDM0Mzc5MTM0OA== simonw 9599 2017-11-13T02:12:58Z 2017-11-13T02:12:58Z OWNER

I should use this on https://fivethirtyeight.datasettes.com/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Support for title/source/license metadata 273247186  
343753999 https://github.com/simonw/datasette/issues/68#issuecomment-343753999 https://api.github.com/repos/simonw/datasette/issues/68 MDEyOklzc3VlQ29tbWVudDM0Mzc1Mzk5OQ== simonw 9599 2017-11-12T17:45:21Z 2017-11-12T19:38:33Z OWNER

For initial launch, I could just support this as some optional command line arguments you pass to the publish command:

datasette publish data.db --title="Title" --source="url"
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Support for title/source/license metadata 273247186  
343754058 https://github.com/simonw/datasette/issues/68#issuecomment-343754058 https://api.github.com/repos/simonw/datasette/issues/68 MDEyOklzc3VlQ29tbWVudDM0Mzc1NDA1OA== simonw 9599 2017-11-12T17:46:13Z 2017-11-12T17:46:13Z OWNER

I’m going to store this stuff in a file called metadata.json and move the existing automatically generated metadata to a file called build.json

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Support for title/source/license metadata 273247186  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 23.833ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows