home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE", issue = 219184224 and user = 7300413 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

  • JoyMonteiro · 3 ✖

issue 1

  • Creating a 2D DataArray · 3 ✖

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
291552833 https://github.com/pydata/xarray/issues/1351#issuecomment-291552833 https://api.github.com/repos/pydata/xarray/issues/1351 MDEyOklzc3VlQ29tbWVudDI5MTU1MjgzMw== JoyMonteiro 7300413 2017-04-04T16:19:12Z 2017-04-04T16:19:12Z NONE

The DataArrays we use are a thin wrapper over xarray's to allow conversion into desired units. If we used Dataset, then we lose this functionality unless we subclass Dataset too. Overall, using a simple dictionary suits our purposes better.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Creating a 2D DataArray 219184224
291544315 https://github.com/pydata/xarray/issues/1351#issuecomment-291544315 https://api.github.com/repos/pydata/xarray/issues/1351 MDEyOklzc3VlQ29tbWVudDI5MTU0NDMxNQ== JoyMonteiro 7300413 2017-04-04T15:52:31Z 2017-04-04T15:52:31Z NONE

Thanks, Ryan. This is for CliMT, where the model arrays are DataArrays, so it would not make sense to use a Dataset. I think option 1 will make more sense.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Creating a 2D DataArray 219184224
291527776 https://github.com/pydata/xarray/issues/1351#issuecomment-291527776 https://api.github.com/repos/pydata/xarray/issues/1351 MDEyOklzc3VlQ29tbWVudDI5MTUyNzc3Ng== JoyMonteiro 7300413 2017-04-04T15:00:59Z 2017-04-04T15:00:59Z NONE

Also, I recall this is new functionality. What minimum version must I use to use 2D coordinates? That is, once I get the right syntax, that is ;)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Creating a 2D DataArray 219184224

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,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
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 15.313ms · About: xarray-datasette