| Package | Description |
|---|---|
| org.opendatafoundation.data.spss |
Provides the classes necessary to read SPSS .sav data files to (1) produce DDI 2.0 and DDI 3.0 XML metadata and (2) export the data into ASCII format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SPSSFile.dumpData(int nRecords,
FileFormatInfo dataFormat)
Dumps the file data (for debugging purposes)
|
long |
SPSSFile.exportData(File file,
FileFormatInfo dataFormat)
Reads the data from the disk and exports a file based on the specified
format
|
Element |
SPSSVariable.getDDI2(Document doc,
FileFormatInfo dataFormat,
int offset)
Generates a DDI 2 element for this variable based on the specified
data format.
|
Document |
SPSSFile.getDDI2(FileFormatInfo dataFormat)
Creates a DDI 2.0 XML Document based for the specified data file format
|
Element |
SPSSVariable.getDDI3DataItem(Document doc,
FileFormatInfo dataFormat,
int offset)
Generates a DDI3 Data Item for this variable.
|
String |
SPSSFile.getDDI3DefaultPhysicalDataProductID(FileFormatInfo dataFormat)
Returns a default Physical Data Product identifier based on the file
unique identifier and the data format.
|
String |
SPSSFile.getDDI3DefaultPhysicalInstanceID(FileFormatInfo dataFormat)
Returns a default Physical Instance identifier based on the file unique
identifier and the data format.
|
String |
SPSSFile.getDDI3DefaultPhysicalStructureSchemeID(FileFormatInfo dataFormat)
Returns a default Physical Structure Scheme identifier based on the file
unique identifier and the data format.
|
String |
SPSSFile.getDDI3DefaultRecordLayoutSchemeID(FileFormatInfo dataFormat)
Returns a default Record Layout Scheme identifier based on the file
unique identifier and the data format.
|
Document |
SPSSFile.getDDI3PhysicalDataProduct(FileFormatInfo dataFormat)
Creates a DDI 3.0 PhysicalDataProduct XML Document for this file based on
the specified file format using the default logical product ID.
|
Document |
SPSSFile.getDDI3PhysicalDataProduct(FileFormatInfo dataFormat,
String logicalProductID)
Creates a DDI 3.0 PhysicalDataProduct XML Document for this file based on
the specified file format.
|
Document |
SPSSFile.getDDI3PhysicalDataProduct(FileFormatInfo dataFormat,
String logicalProductID,
String uniqueID)
Creates a DDI 3.0 PhysicalDataProduct XML Document for this file based on
the specified file format.
|
Document |
SPSSFile.getDDI3PhysicalInstance(URI uri,
FileFormatInfo dataFormat)
Creates a DDI 3.0 PhysicalInstance XML Document for this file based on
the specified file format using default indentifiers.
|
Document |
SPSSFile.getDDI3PhysicalInstance(URI uri,
FileFormatInfo dataFormat,
String recordLayoutSchemeID)
Creates a DDI 3.0 PhysicalInstance XML Document for this file based on
the specified file format.
|
Document |
SPSSFile.getDDI3PhysicalInstance(URI uri,
FileFormatInfo dataFormat,
String recordLayoutSchemeID,
String uniqueID)
Creates a DDI 3.0 PhysicalInstance XML Document for this file based on
the specified file format.
|
int |
SPSSVariable.getLength(FileFormatInfo format)
Computes the variable length in the specific format
|
String |
SPSSFile.getRecord(int obsNumber,
FileFormatInfo dataFormat)
Gets a data record from data in memory based on on the record number and
specified format.
|
String |
SPSSFile.getRecordFromDisk(FileFormatInfo dataFormat,
boolean rewind)
Gets a data record in the specified format.
|
abstract String |
SPSSVariable.getValueAsString(int recordNumber,
FileFormatInfo dataFormat) |
String |
SPSSStringVariable.getValueAsString(int obsNumber,
FileFormatInfo dataFormat)
Returns an observation value as a string
|
String |
SPSSNumericVariable.getValueAsString(int obsNumber,
FileFormatInfo dataFormat)
Returns an observation value as a string based on the specified data ad
variable format.
|
Copyright © 2016. All rights reserved.