1 # PSPP - a program for statistical analysis.
2 # Copyright (C) 2017, 2018, 2019 Free Software Foundation, Inc.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 00 byte[version] int16[n-sources] int32[member-size]
19 Metadata*[n-sources][metadata]
20 #Data*[n-sources][data]
24 int32[n-values] int32[n-variables] int32[data-offset]
26 vB0(byte*36[ext-source-name] int32[x])
28 #Data => Variable*[n-variables]
29 #Variable => byte*288[variable-name] double*[n-values]
31 Strings => SourceMaps[maps] Labels
33 SourceMaps => int32[n-maps] SourceMap*[n-maps]
34 SourceMap => string[source-name] int32[n-variables] VariableMap*[n-variables]
35 VariableMap => string[variable-name] int32[n-data] DatumMap*[n-data]
36 DatumMap => int32[value-idx] int32[label-idx]
38 Labels => int32[n-labels] Label*[n-labels]
39 Label => int32[frequency] string[label]