Save to a file
dataframe export filters and aggregates with the same inputs as dataset query and saves the result as a file. Use it when the result is too large for dataset query.--format. The default is csv (UTF-8 with BOM, which opens correctly in Excel). Use --output to choose where to save the file.
The example above creates the file on the server and returns a download link. Nothing is saved on your computer. To save it on your computer, add --output:
If result shows rows and expires_at, the file is saved on the server. If saved and bytes are shown, it is saved on your computer too.
When downloading is not allowed
For data whose publisher does not allow downloading it as a file, dataframe export fails with DATA_EGRESS_LIMIT.If error_code is DATA_EGRESS_LIMIT, this data cannot be saved as a file.
Troubleshooting
Every flag is described in dataframe export, and how to filter and aggregate in dataset query.
