SPSS (.sav) to CSV & Parquet Converter
Read SPSS .sav survey files into raw typed SQL and Parquet tables.
Reads IBM SPSS .sav survey files with microdata.spss_sav@1.0.0 using ordered stored-column projection. Converts binary survey columns into raw SQL and Parquet tables.
What SPSS (.sav) to CSV & Parquet Converter does
SPSS (.sav) to CSV & Parquet Converter turns public polling, health, and social-science microdata into queryable tables without proprietary SPSS software. The microdata.spss_sav@1.0.0 reader emits exact raw stored values cleanly.
After staging in Mostly Right recipes, NULL normalization for user-missing codes, label joins, weighted averages, and checks run in DuckDB SQL. Published datasets include Parquet, CSV, and JSON downloads plus REST JSON API and MCP access.
Input & output example
Extracts exact raw stored columns from SPSS .sav survey files.
SPSS .sav binary columns
resp_id: 8821 | q1_trust: 4 | weight: 1.14
Extracted raw SQL rows
| resp_id | q1_trust | weight |
|---|---|---|
| 8821 | 4 | 1.14 |
How it works
- 1
Fetch the SPSS .sav survey file
Download SPSS .sav releases safely to disk with explicit byte caps.
- 2
Decode raw columns via microdata.spss_sav
Pin microdata.spss_sav@1.0.0 with an ordered stored-column projection to read raw survey columns.
- 3
Clean sentinels in SQL and serve tables
Convert missing sentinel codes or map labels in DuckDB SQL, then publish via Parquet export, REST API, and MCP.
Try with an agent
Pre-loads SPSS (.sav) in chatPublish polling microdata
Load the public opinion SPSS .sav file via microdata.spss_sav@1.0.0, filter missing codes in DuckDB SQL, and expose weighted results via REST API.
Common use cases
- Polling and public-opinion survey releases
- University and public-health survey archives
- Replacing manual SPSS exports with automated APIs
Details
- Category
- Format Readers
- Identifier
- spss-sav
- Inputs
- .sav (SPSS binary)
- Outputs
- Raw typed SQL & Parquet tables
- Dataset delivery
- Parquet · CSV · JSON · SQL · REST API · MCP
Frequently asked questions
How are SPSS user-defined missing codes or labels handled?
microdata.spss_sav@1.0.0 outputs raw stored values without display formats or value labels, so recipes map sentinel codes to NULL or join labels in DuckDB SQL.
Do I need proprietary SPSS software to read .sav files?
No. Workers decode standard .sav files with pyreadstat automatically during each scheduled run.
How can I document survey variables for API and MCP users?
Add clear column descriptions and allowed value explanations in your dataset schema metadata for Schemas and MCP clients.