home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "NONE", issue = 111525165 and user = 167164 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

  • naught101 · 2 ✖

issue 1

  • Best way to copy data layout? · 2 ✖

author_association 1

  • NONE · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
148271725 https://github.com/pydata/xarray/issues/625#issuecomment-148271725 https://api.github.com/repos/pydata/xarray/issues/625 MDEyOklzc3VlQ29tbWVudDE0ODI3MTcyNQ== naught101 167164 2015-10-15T03:28:59Z 2015-10-15T03:28:59Z NONE

The lat/x, long/y is a bit odd, yeah, I think the file is set up a bit wrong, but I'm trying to stick to the format I'm given.

Reference height, at least, isn't really a co-ordinate. It's the value of the tower measurements. The other data is really (implicitly) at elevation+screen height, I think.

But yeah, that's basically what I came up with, just copy the relevant coords for each variable from the old dataset.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Best way to copy data layout? 111525165
148252414 https://github.com/pydata/xarray/issues/625#issuecomment-148252414 https://api.github.com/repos/pydata/xarray/issues/625 MDEyOklzc3VlQ29tbWVudDE0ODI1MjQxNA== naught101 167164 2015-10-15T01:47:56Z 2015-10-15T01:47:56Z NONE

Hrm, I guess I can just do

python new_ds = old_ds[GEO_VARS] for c in old_ds.coords: if c not in new_ds.coords: new_ds.coords[c] = old_ds.coords[c]

Still, it might be nice to have this built in.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Best way to copy data layout? 111525165

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.704ms · About: xarray-datasette