spssdictionary.GetDataFileAttributes Function (R)
spssdictionary.GetDataFileAttributes(attrName). Returns the attribute values for the specified
datafile attribute. The argument attrName is a string that specifies the name of the attribute--for
instance, a name returned by GetDataFileAttributeNames
.
- The result is a vector of the attribute values.
- If there are no values for the specified attribute NULL is returned.
Example
names <- spssdictionary.GetDataFileAttributeNames()
for(attr in names)
{
y <- spssdictionary.GetDataFileAttributes(attrName = attr)
print(y)
}