diff --git a/requirements.txt b/requirements.txt index aa58e38bb..e1f3f6c45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -48,5 +48,5 @@ matrix_client # matrix API zulip # zulip API pyairtable # airtable API --e git+https://github.com/saulpw/pyxlsb.git@visidata#egg=pyxlsb # xlsb --e git+https://github.com/anjakefala/savReaderWriter # sav (SPSS) +-e git+https://github.com/saulpw/pyxlsb.git@visidata#egg=pyxlsb # xlsb +-e git+https://github.com/anjakefala/savReaderWriter#egg=savReaderWriter # sav (SPSS) diff --git a/sample_data/accidents.sav b/sample_data/accidents.sav new file mode 100644 index 000000000..10206b765 Binary files /dev/null and b/sample_data/accidents.sav differ diff --git a/tests/golden/load-sav.tsv b/tests/golden/load-sav.tsv new file mode 100644 index 000000000..8ee1bde01 --- /dev/null +++ b/tests/golden/load-sav.tsv @@ -0,0 +1,7 @@ +agecat gender accid pop +1.00 1.00 57997.00 198522.00 +2.00 1.00 57113.00 203200.00 +3.00 1.00 54123.00 200744.00 +1.00 0.00 63936.00 187791.00 +2.00 0.00 64835.00 195714.00 +3.00 0.00 66804.00 208239.00 diff --git a/tests/load-sav.vd b/tests/load-sav.vd new file mode 100644 index 000000000..4c8dd11db --- /dev/null +++ b/tests/load-sav.vd @@ -0,0 +1,2 @@ +sheet col row longname input keystrokes comment + open-file sample_data/accidents.sav o