{"ok": true, "database": "cftracker", "query_name": "official_statement", "rows": [], "truncated": false, "columns": ["filer", "covers_year", "interest", "name", "nature", "role_or_value", "description", "lobbying_organization", "source", "office", "date_filed", "scanned_statement"], "query": {"sql": "select f.filer, f.filing_year as covers_year,\n       case when f.parsed = 0 then 'Not read: ' || coalesce(f.note, '') else\n         case i.kind when 'income' then 'Source of income' when 'business' then 'Business position' when 'property' then 'Real property'\n                     when 'security' then 'Stock or bonds' when 'gift' then 'Gift' else i.kind end end as interest,\n       i.name, i.nature, coalesce(i.role, i.value) as role_or_value, i.description,\n       (select group_concat(oil.principal) from official_interest_links oil where oil.interest_id = i.interest_id) as lobbying_organization,\n       case when i.source = 'scan' then 'read from scan (' || cast(round(coalesce(i.confidence, 0) * 100) as integer) || '% confidence)' when f.parsed = 1 then 'electronic filing' end as source,\n       coalesce(nullif(f.office_held, ''), f.office_sought) as office, f.date_filed, f.doc_url as scanned_statement\nfrom official_filings f\nleft join official_interests i on i.filing_key = f.filing_key\nwhere :senator <> '' and f.filer like '%' || upper(:senator) || '%'\norder by f.filer, f.filing_year desc, f.date_filed desc,\n         case i.kind when 'income' then 1 when 'business' then 2 when 'property' then 3 when 'security' then 4 else 5 end, i.interest_id", "params": {"senator": ""}}, "error": null, "private": false, "allow_execute_sql": false, "query_ms": 0.8538579859305173, "source": "FEC, Nebraska Accountability and Disclosure Commission, Clerk of the Legislature, Open States", "source_url": "https://www.fec.gov/data/", "license": "Public records"}