home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 838382890 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

  • Refresh SpatiaLite documentation · 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
813061516 https://github.com/simonw/datasette/issues/1273#issuecomment-813061516 https://api.github.com/repos/simonw/datasette/issues/1273 MDEyOklzc3VlQ29tbWVudDgxMzA2MTUxNg== simonw 9599 2021-04-04T16:32:40Z 2021-04-04T16:32:40Z OWNER

Useful tutorial series from 2012: https://northredoubt.com/n/2012/01/20/spatialite-speed-test/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Refresh SpatiaLite documentation 838382890  
808759984 https://github.com/simonw/datasette/issues/1273#issuecomment-808759984 https://api.github.com/repos/simonw/datasette/issues/1273 MDEyOklzc3VlQ29tbWVudDgwODc1OTk4NA== simonw 9599 2021-03-27T16:43:17Z 2021-03-27T16:43:17Z OWNER

That rivers example in the tutorial would work a lot better with a live demo.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Refresh SpatiaLite documentation 838382890  
808756921 https://github.com/simonw/datasette/issues/1273#issuecomment-808756921 https://api.github.com/repos/simonw/datasette/issues/1273 MDEyOklzc3VlQ29tbWVudDgwODc1NjkyMQ== simonw 9599 2021-03-27T16:19:45Z 2021-03-27T16:26:28Z OWNER

I have a better recipe for using spatial indexes now on https://simonwillison.net/2021/Jan/24/drawing-shapes-spatialite/ sql select AsGeoJSON(geometry), * from CPAD_2020a_SuperUnits where PARK_NAME like '%mini%' and Intersects(GeomFromGeoJSON(:freedraw), geometry) = 1 and CPAD_2020a_SuperUnits.rowid in ( select rowid from SpatialIndex where f_table_name = 'CPAD_2020a_SuperUnits' and search_frame = GeomFromGeoJSON(:freedraw) )

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Refresh SpatiaLite documentation 838382890  
808757721 https://github.com/simonw/datasette/issues/1273#issuecomment-808757721 https://api.github.com/repos/simonw/datasette/issues/1273 MDEyOklzc3VlQ29tbWVudDgwODc1NzcyMQ== simonw 9599 2021-03-27T16:25:48Z 2021-03-27T16:25:48Z OWNER

This will give you back an additional column of GeoJSON. You can copy and paste GeoJSON from this column into the debugging tool at geojson.io to visualize it on a map.

That should promote datasette-leaflet-geojson instead.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Refresh SpatiaLite documentation 838382890  

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 19.008ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows