home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1279924827

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1845#issuecomment-1279924827 https://api.github.com/repos/simonw/datasette/issues/1845 1279924827 IC_kwDOBm6k_c5MShpb 30636 2022-10-16T08:54:53Z 2022-10-16T08:54:53Z NONE

It was part of a larger idea I was exploring around ensuring Datasette could be used to start interacting with CSV/JSON data out-of-the-box, without needing to first convert that data into SQLite using separate tools.

This would be great. My organization deals with very nested JSON open data and I have been wanting to find a way to hook into datasette so that the analysts do not have to first convert to sqlite first.

This can kind of be done with datasette-lite.

From this random nested JSON API: https://api.nobelprize.org/v1/prize.json

You can use the API of https://flatterer.herokuapp.com to return a multi table sqlite database:

https://lite.datasette.io/?url=https://flatterer.herokuapp.com/api/convert?output_format=sqlite%26file_url=https://api.nobelprize.org/v1/prize.json

This is great and fun, but it would be great if there was some plugin mechanism that you could feed a local datasette a nested JSON file directly, possibly hooking into other flattening tools for this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1410305897  
Powered by Datasette · Queries took 0.984ms · About: github-to-sqlite