There is no need to repeat DISPLAY DICTIONARY for each table, as long as every label is accounted for somewhere. You can create as many tables (AGGREGATEs) as you like in one syntax file. Once extracted, open template.html in your text editor and paste the rubbish copied from your browser window. Here is that file: template.zip (sorry, but html will not download). The only solution that came to me (other than hard-coded styling in JavaScript) was to display the html (the rubbish) so that the user (there’s millions of you) could copy it into another html file. Well… when, fiddling with JavaScript, I finally managed to produce the table and was about to add styling to it, I found out that I had not produced any html to add styling to (press control-U and see for yourself: no html table in the source code).
#PSPP SYNTAX CODE#
Near the end of the page you will see the table, badly formatted, followed by rubbish – actually the html code for this table. Save, and reload or open output.html in your browser. This is the JavaScript code I put together. Scroll to the end, and between the and lines insert the contents of aggTable.txt which is inside aggTable.zip (sorry … security reasons). Now open output.html in your favorite text editor. This is needed for the JavaScript part to function. The table created by the LIST command has Data List as a caption and colpercent as the title of the last column.
![pspp syntax pspp syntax](https://telefoncek.si/static/2013/04/help_menu.png)
PSPP will complain about the file not declaring its encoding – no need to worry about that (you can make the warning go away by changing the GET FILE line to: GET FILE = "staffsurvey.sav" /ENCODING="UTF-8".). Proud to present the result: aggTable Table 2 – Overall satisfaction score class by city and employment status and age recode in 4gps and length of service grp 3 (column %) Overall satisfaction score class Still, out of nostalgia I wanted to see how far I could get simulating tables using AGGREGATE as a basis. TABLES is the legacy of continuous form printers and of separate departments for tabulation and analysis, and of course PSPP’s existing modules (in particular CROSSTABS and MEANS) can give you everything you need already. PSPP has no TABLES facility, even if rumors have it that the newer CTABLES module may be implemented in the future. For many years I have used SPSS TM TABLES at work to produce “presentation quality” tables that were then loaded in spreadsheets for further calculations and graphics.