home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 316323336

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
316323336 MDU6SXNzdWUzMTYzMjMzMzY= 231 metadata.json support for plugin configuration options 9599 closed 0     4 2018-04-20T15:58:47Z 2019-05-13T18:56:21Z 2019-05-13T18:56:21Z OWNER  

My datasette-cluster-map plugin currently works by detecting latitude and longitude columns. I'd like to be able to configure it to look for different column names.

One way to do this could be to support optional plugin configuration as part of metadata.json. Something like this:

{
    "title": "Polar Bear Ear Tags, 2009-2011",
    "source": "USGS Alaska Science Center, Polar Bear Research Program",
    "source_url": "https://alaska.usgs.gov/products/data.php?dataid=130",
    "plugins": {
        "datasette_cluster_map": {
            "latitude_columns": [
                "latitude",
                "Capture Latitude"
            ],
            "longitude_columns": [
                "longitude",
                "Capture Longitude"
            ]
        }
    }
}

These settings should be supported at the root level or at the individual database or table level.

They could also be exposed in the https://datasette-cluster-map-demo.now.sh/-/plugins debug tool.

Refs #14

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/231/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 1.45ms · About: github-to-sqlite