export_query
Run read-only SELECT queries on WRDS without row limits and save results to CSV, Parquet, or Excel. Returns the file path, row count, and columns.
Instructions
Run a read-only SELECT with no row limit and save it to the output folder (default ~/wrds-data). fmt: csv, parquet or xlsx. Returns the path, row count and columns; a 5-row preview is included only for AI-allowed sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | csv | |
| sql | Yes | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |