$TITLE "Data dictionary for Portugal supplementary standard file" ************************************************************************ * * * * /\ * * * / //\\ \ World Fertility Survey * Portugal Fertility * * // ///\\\ \\ * and Family Survey * * ////// \\\\\\ International * * * //// \\\\ Statistical * * * // \\ Institute * * * \\\\\\\ /////// * * * \\ /// 35-37 Grosvenor Gardens * * * \\\\\\ ////// London SW1W 0BS * Dictionary for * * \\ /// United Kingdom * Supplementary Standard * * \\ //// * file * * * * ************************************************************************ * * *----------------------------------------------------------------------* ( Country code : PT * *------------------------:---------------------------------------------* ( Type of data : SS01 * *------------------------:---------------------------------------------* * File : DICT * *------------------------:---------------------------------------------* ( Version of dictionary : 1.1.4 * *------------------------:---------------------------------------------* ( Date created : 23 Dec 1983 (MAB) * *------------------------:---------------------------------------------* ( Date last amended : 20 Feb 1984 (ML) * *------------------------:---------------------------------------------* * Basic documentation : * *------------------------:---------------------------------------------* * : * *----------------------------------------------------------------------* * * * Bibliographic citation * * ---------------------- * * * * Any published report or paper using data from this file should * * include the following citation among its references: * * * * Central Bureau of Statistics, Lisbon * * Portugal Fertility Survey, 1979-80, Supplementary Standard, * * Version 1 * * * * London: International Statistical Institute [producer and * * distributor]. * * 1 data file (5148 logical records) plus 3 MRDFs containing data * * dictionary, marginals and SPSS data description, and data * * document. * * * * * ************************************************************************ $PAGE ************************************************************************ * * * This document contains six types of record. They are distinguished * * by the character printed in position 1: * * * * alphabetic character (A-Z) - a variable definition record. * * blank - a value definition record. * * left parenthesis ("(") - a record that documents the basic * * provenance of the dictionary. * * percent symbol ("%") - indicates one of three kinds * * of record, "%FILE", "%CASE" and * * "%TABLE", described below. * * greater than symbol (">") - used in conjunction with "%TABLE". * * dollar sign ("$") - a title or page-control direction. * * asterisk ("*") - a comment. * * * *----------------------------------------------------------------------* * * * Positions 73-80 of all dictionary entries are reserved for a sequ- * * ence number. * * * * All values are coded right justified in their field, while names * * and labels are coded left justified. * * * *----------------------------------------------------------------------* * * * Abbreviations used for intervals: * * * * FBI first birth interval * * FPI first pregnancy interval * * LCBI last closed birth interval * * LCPI last closed pregnancy interval * * OBI open birth interval * * OPI open pregnancy interval * * * *----------------------------------------------------------------------* * * * Dates: * * * * All dates in the file are represented by century month codes (cmc). * * The century month code is defined as the number of months since * * December 1899 and is calculated as follows: * * cmc = 12*year + month * * You can convert from cmc to normal calendar dates like this: * * year = (cmc - 1)/12 * * month = cmc - 12*year * * To compute the length of time in months between any two events * * subtract the cmc of the first event from the cmc of the second * * event. * * * *----------------------------------------------------------------------* $PAGE * * * Variable Definition Records: * * * * Variable definition records are used to provide names and labels * * for variables, to define their location in the file, and to state * * their range and special codes. The format of a variable definition * * record is: * * * * Position Contents Remarks * * * * 1-6 Variable name Identifies the variable; up to six * * characters, the first being a letter. * * * * 10-13 Starting location Position where variable starts. * * * * 15-16 Length Number of positions occupied by the * * variable. * * * * 17-20 Minimum Lowest value of variable. * * * * 21-24 Maximum Highest value of variable other than * * "not applicable" or special codes. * * * * 26-29 Not applicable Code used for "not applicable",if any; * * otherwise left blank. * * * * 31-34 Special code This indicates a value requiring * * special treatment in analysis. As a * * variable may have more than one spec- * * ial code, only the lowest value of * * these is shown here. Others will be * * indicated as value definition records * * only. Usually this code is used for * * "not stated", if any. * * * * 36-65 Variable label Describes the variable more fully than * * the name; up to 30 characters. * * * * 67-72 Value label If the codes for this variable have * * backreference the same labels as some previously def- * * ined variable,the name of the previous * * variable is given here. * * * * * * Value Definition Records: * * * * Value definition records follow a variable definition record and * * are used to provide labels describing the meaning of the codes of * * the variable. If used in conjunction with a value label reference * * (in the variable definition record) they can be used to add new * * codes or to redefine the labels of old codes. The format of a * * value definition record is: * * * * Position Contents Remarks * * * * 36-39 Value The code being defined. * * * * 44-63 Label Up to 20 characters, left justified. * $PAGE *----------------------------------------------------------------------* * * * %FILE record: * * * * There is only one "%FILE" record in a dictionary, preceding the * * variable definition records. It contains basic information about * * the data file. The format of a %FILE record is: * * * * Position Contents Remarks * * * * 1-5 %FILE * * * * 9-10 Country code Identifies the country. * * * * 19-20 Data type Type of data described. * * * * 29-30 Version Version of data file . * * * * 37-40 Logical record length * * * * 43-50 Max no of recs Number of physical records ("cards") * * in the data file. * * * * 60 Data recording mode "A" = Ascii. * * * *----------------------------------------------------------------------* * * * %CASE records: * * * * A "%CASE" record describes the location and length of the case * * key and gives the number of cases. It can be used to describe * * multiple case keys. The format of a %CASE record is: * * * * Position Contents Remarks * * * * 1-5 %CASE * * * * 15 Sort order "A"=ascending, "D"=descending * * "U"=unsorted. * * * * 22-25 Location of case key.Starting position of 1st case key. * * * * 33-35 Length of case key * * * * 49-55 Max number of cases in data file * * * * Note: For standard recode files the number of cases in the %CASE * * record is the same as the number of physical records in the * * %FILE record. * * * *----------------------------------------------------------------------* $PAGE * * * %TABLE records: * * * * These records allow a compact description of data items (one or * * more variables), which repeat in regular blocks, by indicating how * * the information is repeated. The %TABLE record is followed by * * records with ">" in position 1. These are variable and value * * definition records describing one set of entries in the table. The * * format of a %TABLE record is: * * * * Postion Contents Remarks * * * * 1-6 %TABLE * * * * 8-9 Formal name This is a name by which the table * * may be referenced (left justified). * * * * 26-30 Starting location The starting position in the data * * file of the 1st variable in the 1st * * set of the table. * * * * 38-40 Step size Number of positions between the * * start of each set. * * * * 64-65 Actual entries The maximum number of sets for that * * particular country. * * * * 69-70 Max. entries The number of sets for which there * * is space in the data file. * * * * ">" records: * * * * All definition records describing table variables have this char- * * acter in position 1. These records are of two kinds: * * * * Variable definition records. * * * * The format of a table variable definition record is: * * * * Position Contents Remarks * * * * 1 > Indicates that the information is * * part of a table. * * 2-5 Variable name Maximum 4 characters. * * * * 8-9 Table name The name given in position 8-9 of * * the preceding %TABLE record. * * * * 10-13 Location This gives the starting position of * * the variable within the table. * * * * 15-72 Label & backref. As for normal variable definition * * records. * * * * Value definition records. * * * * These are the same as normal value definition records apart from * * the character ">" in position 1. * $PAGE ************************************************************************ * * * Logical Maximum Data * * Country Data Data record number recording * * code type version length of recs mode * * ------- ---- ------- ------ ------- --------- * * * %FILE PT SS 01 60 5148 A * ************************************************************************ * * * Maximum * * Sort Case key number * * order location length of recs * * ----- -------- -------- ------- * * * %CASE A 17 9 5148 * ************************************************************************ $PAGE ************************************************************************ * X Variables * ************************************************************************ * * *Name Loc Ln Min Max NA Spec Variable label * *---- --- -- --- --- ---- ---- -------------- * * * T000 1 9 Data set identifier * 1 3 "WFS" * * 4 2 "PT" * * 6 4 "SS01" * T001 10 5 Serial number X001 15 9 Identity as in Raw data X301 24 2 0 76 88 98 Length breastfeeding 88 Not applicable 98 Didn't breastfeed 99 Not available X600A 26 2 0 9 Methods known X600B 28 2 0 12 Methods known X601 30 2 0 6 Methods used V003C 32 4 1 155 STRATUM V004C 36 4 1 318 PSU V005C 40 4 1 318 UAU V006C 44 410001000 WEIGHT V701C 48 2 1 8 Region of Residence 1 Norte Litoral 2 Norte Interior 3 Centro Litoral 4 Centro Interior 5 Lisboa Litoral 6 Lisboa Interior 7 Sul Interior 8 Sul Litoral V702C 50 2 1 5 Type of place of residence 1 Lisbon 2 Porto 3 20,000+ inhabitants 4 10,000-19,999 inhabs 5 <10,000 inhabitants *----------------------------------------------------------------------* C001 52 2 1 3 Type of place of residence 1 Metropolitan town 2 Small town 3 Rural area C002 54 2 0 3 99 Level of education 0 No education 1 1-3 years 2 4-6 years 3 7-15 years 99 Not available C003 56 2 0 2 Last work status since marr 0 Didn't work aft marr 1 Family work,self-emp 2 Other,self-empl C004 58 2 0 4 99 Partner's occupation 0 Don't work 1 Agric,self-emp 2 skill labourer 3 Services 4 Profess, clerical 99 Not available FILLER 60 1 0 0 Filler ************************************************************************ * End of the dictionary for Portugal Supplementary Standard file * ************************************************************************