{"ok": true, "database": "mytown-research", "query_name": "surveillance_data_quality", "rows": [["exact/near duplicate rows", 409], ["ceilings (\"not to exceed\"), not payments", 802], ["proposed / recommended, not approved", 161], ["estimated amounts", 89], ["city attribution disagrees with source link", 382], ["implausible amount, needs manual review", 21]], "truncated": false, "columns": ["issue", "rows"], "query": {"sql": "SELECT 'exact/near duplicate rows'        AS issue, count(*) AS rows\n  FROM surveillance_spending WHERE dup_rank > 1\nUNION ALL SELECT 'ceilings (\"not to exceed\"), not payments', count(*)\n  FROM surveillance_spending WHERE amount_type = 'ceiling'\nUNION ALL SELECT 'proposed / recommended, not approved', count(*)\n  FROM surveillance_spending WHERE amount_type IN ('proposed','recommended')\nUNION ALL SELECT 'estimated amounts', count(*)\n  FROM surveillance_spending WHERE amount_type = 'estimated'\nUNION ALL SELECT 'city attribution disagrees with source link', count(*)\n  FROM surveillance_spending WHERE geo_suspect = 1\nUNION ALL SELECT 'implausible amount, needs manual review', count(*)\n  FROM surveillance_spending WHERE anomaly = 1", "params": {}}, "error": null, "private": false, "allow_execute_sql": true, "query_ms": 9.596852003596723, "source": "MyTown", "source_url": "https://mytown.theboringparts.com", "license": "CC BY 4.0", "license_url": "https://creativecommons.org/licenses/by/4.0/"}