On Mon, Jul 10, 2017 at 04:09:14PM +0200, Andrea Occhi wrote:
> There is any other way to export a frequency or a crosstab other than
> writing this down into a syntax file (called syntax.sps) a thing like
> this
> 
> get file dati.sav
> 
> SORT CASES  BY q0001.
> SPLIT FILE LAYERED BY q0001.
> 
> FREQUENCIES VARIABLES=q0002
>  /MISSING=EXCLUDE
>  /STATISTICS=NONE
>  /FORMAT=TABLE
> 
> 
> and then call pspp in this way:
> 
> pspp  -o saveEa.csv  sintassiEa.sps

You could write a shell script with a "for" loop that generates and runs
the .sps command files.

_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to