When exporting a dataset, you may want to customize it for your personal needs. We provide a few options for doing this:
Format | Option | Type | Description |
---|---|---|---|
CSV | separator | char | The separator character, usually , , between fields |
bom | bool | The byte-order marker; exports intended for Microsoft Excel should set this to true | |
XML | preciseTimestamps | bool | Includes the millisecond specifier to timestamps. |
Example:
curl \
--header 'X-App-Token: your-application-token' \
--json '{
"serializationOptions": {
"separator": "\t",
"bom": true
}
}' \
https://soda.demo.socrata.com/api/v3/views/4tka-6guv/export.csv