To use this program, follow these steps:
  1. Open an SPSS syntax window (or another text editor)
  2. COPY the program below and PASTE it into the editor window
  3. Edit the program so that the FILE= specification points to where the data file is stored on your system
  4. Save the modified program file and RUN it using SPSS
The program is below this line. If no program is listed, the URL to the EML document may be in error. If the EML file does not include all the information needed, the SPSS program will have errors or be incomplete.

Comment Package ID: knb-lter-vcr.147.2 Cataloging System:VCR.
Comment Data set title: Keywords and Terms from the LTER Network.
Comment  Data set creator:  John Porter -  
Comment  Data set creator:  Duane  Costa -  
Comment  Data set creator:  John Porter -  
Comment  Metadata Provider:    - Virginia Coast Reserve Long-Term Ecological Research Project 
Comment  Contact:  John Porter -    - jhp7e@virginia.edu
Comment  Contact:    - Information manager - Virginia Coast Reserve Long-Term Ecological Research Project   - jporter@lternet.edu
        
        
Title ' Keywords and Terms from the LTER Network' . 

Comment You should replace 'PUT-LOCAL-PATH-TO-DATA-FILE-HERE'  (below) with the appropriate path.   
Comment    to your data file (e.g., c:\mydata\datafile.txt).                 
GET DATA  /TYPE=TXT/
               / FILE="PUT-LOCAL-PATH-TO-DATA-FILE-HERE" 
                        /ARRANGEMENT=Delimited 
                              /DELIMITERS="\t"  
                                    /QUALIFIER='"' 
                    /VARIABLES= 
                    TERM  A  DTOC_NSITES  F10.2 DTOC_NU  F10.2 EA_SITES  F10.2 EA_USES  F10.2 EK_SITES  F10.2 EK_USES  F10.2 ET_SITES  F10.2 ET_USES  F10.2 PUB_NSITES  F10.2 PUB_NUSES  F10.2 NLISTS  F10.2 MAXSITES  F10.2 MINSITES  F10.2 MAXUSES  F10.2 MINUSES  F10.2 ISTERM  F10.2 .
execute.                
                

                
VAR LABELS   TERM 'Word or Term- ' .
VAR LABELS   DTOC_NSITES 'Number of sites using in DTOC- none' .
VAR LABELS   DTOC_NU 'Number of uses in DTOC- none' .
VAR LABELS   EA_SITES 'Number of sites using in EML Attributes- none' .
VAR LABELS   EA_USES 'Number of uses in EML Attributes- none' .
VAR LABELS   EK_SITES 'Number of sites using in EML Keyword- none' .
VAR LABELS   EK_USES 'Number of uses in EML Keywords- none' .
VAR LABELS   ET_SITES 'Number of sites using in EML Titles- none' .
VAR LABELS   ET_USES 'Number of uses in EML Titles- none' .
VAR LABELS   PUB_NSITES 'Number of sites using in publication titles- none' .
VAR LABELS   PUB_NUSES 'Number of uses in publication titles- none' .
VAR LABELS   NLISTS 'Number of lists word or term occurs in- none' .
VAR LABELS   MAXSITES 'Maximum number of sites within a list where a word was used- none' .
VAR LABELS   MINSITES 'Minimum number of sites within a list where a word was used- none' .
VAR LABELS   MAXUSES 'Maximum number of uses within a list where a word was used- none' .
VAR LABELS   MINUSES 'Minimum number of uses within a list where a word was used- none' .
VAR LABELS   ISTERM 'Is it a multi-word term?- ' .
VALUE LABELS   ISTERM 
                                  '0'  'No, only a single word'  
                                  '1'  'Yes, it is a multi-word term'  .
                
                
comment The analyses below are basic descriptions of the variables. After testing, they should be replaced.                 
        
                 
Frequencies   variables=TERM /order=analysis.  
Frequencies   variables=ISTERM /order=analysis.  
Descriptives   variables=DTOC_NSITES .  
Descriptives   variables=DTOC_NU .  
Descriptives   variables=EA_SITES .  
Descriptives   variables=EA_USES .  
Descriptives   variables=EK_SITES .  
Descriptives   variables=EK_USES .  
Descriptives   variables=ET_SITES .  
Descriptives   variables=ET_USES .  
Descriptives   variables=PUB_NSITES .  
Descriptives   variables=PUB_NUSES .  
Descriptives   variables=NLISTS .  
Descriptives   variables=MAXSITES .  
Descriptives   variables=MINSITES .  
Descriptives   variables=MAXUSES .  
Descriptives   variables=MINUSES . 
Execute. 
                
                  
COMMENT List cases where data is out of range.  
COMMENT Note: if no out of range cases are detected, the variable names will be listed, but no actual cases.  
TEMPORARY .               
STRING BADVARS (A255).
SELECT IF (BADVARS NE ""). 
LIST VARIABLES=ALL.
Execute.