Changes between Version 16 and Version 17 of Ticket #525, comment 6


Ignore:
Timestamp:
Feb 22, 2016, 2:13:18 PM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #525, comment 6

    v16 v17  
    3939|| KON_VALUE || Integer || "Kön" (Sex) 1 = Male, 2 = Female ||
    4040
    41 Inspection of the example files indicated the following:[[BR]][[BR]]a. Boolean variables related to check boxes (checked = true), were coded as 1 for checked = true, and `null` (blank) for unchecked = false.[[BR]]b. Boolean variables not related to check boxes, were coded as 1 for true, and 0 for false.[[BR]]c. Dates should be given in format YYYYMMDD, according to the variable description, but were given in format YYYY-MM-DD in the export file.[[BR]]d. Float values were given with 2 decimals using a decimal comma, according to the variable description, but were given with 2 decimals using a decimal point in the export file. (Sweden, like most countries in central Europe, historically used a decimal comma, but after computers were used more regularly, technical and natural sciences converted in the 1970's to using a decimal point.)
     41Inspection of the example files indicated the following:
     42
     43|| '''Variable type''' || '''Value in variable description''' || '''Value in example files''' ||
     44|| Boolean variables related to check boxes || checked = true || 1 for checked = true, `null` (blank) for unchecked = false ||
     45|| Boolean variables not related to check boxes || 1 for true, 0 for false || 1 for true, 0 for false ||
     46|| Date || "YYYYMMDD" format || "YYYY-MM-DD" format ||
     47|| Float || Decimal comma, 2 decimals || Decimal point, 2 decimals ||
     48
     49Note: Sweden, like most countries in central Europe, historically used a decimal comma, but after computers were used more regularly, technical and natural sciences converted in the 1970's to using a decimal point.