Query disclosure tables
uslobbying_dataframe_queryRun one read-only SELECT over staged disclosure tables, materialize the complete result, then retrieve whole rows by result_table and next_offset without rerunning SQL. Inspect columns with uslobbying_dataframe_describe first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | One read-only SELECT; exclusive with result_table and offset. | |
| offset | No | Canonical row offset for result_table, default zero. | |
| canvas_id | Yes | Canvas token returned by a disclosure analytical tool. | |
| row_limit | No | Maximum whole rows in this response; positive integers clamp to 100, then to any lower provider ceiling. | |
| register_as | No | Fresh result table name for a new SQL call; omit for a generated name. | |
| result_table | No | Previously materialized result table; exclusive with sql and register_as. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Whole JSON-safe rows. | |
| error | No | Present when the call failed. Absent on success. | |
| offset | No | Canonical-order starting row offset. | |
| columns | No | Complete result schema. | |
| dataset | No | Materialized dataset and routing. | |
| guidance | No | Table names and dataframe instructions. | |
| canvas_id | No | Tenant-scoped canvas access token. | |
| row_count | No | Exact materialized result count. | |
| row_order | No | Delivery orders by all materialized values. | |
| truncated | No | More materialized rows remain; continue with next_offset. | |
| query_tool | No | Query or retrieve materialized table rows. | |
| next_offset | No | Next undelivered row offset. | |
| result_table | No | Stable materialized result table. | |
| describe_tool | No | Inspect exact table schemas before SQL. | |
| rows_returned | No | Rows actually delivered. | |
| delivery_limits | No | Clamped controls for this call; an empty map means no clamp. Immediate cursor replay retains its original values. | |
| output_complete | No | Whether this result has no remaining delivery rows. | |
| effective_row_limit | No | Effective row limit when a delivery or provider ceiling lowers the requested limit. |