Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r100

...

These data types have no additional specification requirements:

Data TypeDescription
String Data Type

D excerpt include
pageString Data Type
nopaneltrue

Integer Data Type

D excerpt include
pageInteger Data Type
nopaneltrue

Decimal Data Type

D excerpt include
pageDecimal Data Type
nopaneltrue

Boolean Data Type

D excerpt include
pageBoolean Data Type
nopaneltrue

Datetime Data Type

D excerpt include
pageDatetime Data Type
nopaneltrue

Object Data Type

D excerpt include
pageObject Data Type
nopaneltrue

Array Data Type

D excerpt include
pageArray Data Type
nopaneltrue

Formatting differences may apply. For example, 

D s product
 may recognize Y and N as Boolean data type, while other systems may not.

...

The following are the complex data types supported by 

D s product
.

Data TypeDescription
Social Security Number Data Type

D excerpt include
pageSocial Security Number Data Type
nopaneltrue

Phone Number Data Type

D excerpt include
pagePhone Number Data Type
nopaneltrue

Email Address Data Type

D excerpt include
pageEmail Address Data Type
nopaneltrue

Credit Card Data Type

D excerpt include
pageCredit Card Data Type
nopaneltrue

Gender Data Type

D excerpt include
pageGender Data Type
nopaneltrue

Zip Code Data Type

D excerpt include
pageZip Code Data Type
nopaneltrue

State Data Type

D excerpt include
pageState Data Type
nopaneltrue

IP Address Data Type

D excerpt include
pageIP Address Data Type
nopaneltrue

URL Data Type

D excerpt include
pageURL Data Type
nopaneltrue

HTTP Code Data Type

D excerpt include
pageHTTP Code Data Type
nopaneltrue

Complex data types are typically defined based on a regular expression applied to String values. For example, the following regex is used to define the accepted values for the Email Address data type:

...

Logical and complex data types

Data typeCategoryInternal data typeNotes
String Data TypelogicalStringThe default data type. Any non-empty/non-value is valid for String data type.
Integer Data TypelogicalIntUse NUMFORMAT Function to format these values. Underlying values are not modified.
Decimal Data TypelogicalFloatUse NUMFORMAT Function to format these values. Underlying values are not modified.
Boolean Data TypelogicalBool
Datetime Data TypelogicalDatetimeUse DATEFORMAT Function to format these values. Underlying values are not modified.
Object Data TypelogicalMap/Object
Array Data TypelogicalArray
Social Security Number Data Type

complex

StringString data type constrained by a regular expression.
Phone Number Data Type
complex
StringString data type constrained by a regular expression.
Email Address Data Type
complex
StringString data type constrained by a regular expression.
Credit Card Data Type

complex

StringString data type constrained by a regular expression.
Gender Data Type
complex
StringString data type constrained by a regular expression.
Zip Code Data Type
complex
StringString data type constrained by a regular expression.
State Data Type
complex
StringString data type constrained by a regular expression.
IP Address Data Type
complex
StringString data type constrained by a regular expression.
URL Data Type
complex
StringString data type constrained by a regular expression.
HTTP Code Data Type
complex
StringString data type constrained by a regular expression.

Types in Source Data

Depending on the source system, imported data may be typed to

D s item
itemdata types
 according to one of the following methods. 

...

Info

NOTE: When you apply a formatting function to a column, the data appears in the specified format in the 

D s webapp
, but the underlying data is unmodified. Formatting changes appear as a step in your recipe and are applied to the generated results.


Formatting FunctionApplicable Data TypeDescription
NUMFORMAT FunctionInteger, Decimal

D excerpt include
pageNUMFORMAT Function
nopaneltrue

DATEFORMAT FunctionDatetime

D excerpt include
pageDATEFORMAT Function
nopaneltrue

UNIXTIMEFORMAT FunctionDatetime

D excerpt include
pageUNIXTIMEFORMAT Function
nopaneltrue

Type functions

The 

D s webapp
 provides a set of functions for managing types. 

...

These functions can be used to test for valid or invalid values against a specific data type.

FunctionDescription
VALID Function

D excerpt include
pageVALID Function
nopaneltrue

ISMISMATCHED Function

D excerpt include
pageISMISMATCHED Function
nopaneltrue

IFVALID Function

D excerpt include
pageIFVALID Function
nopaneltrue

IFMISMATCHED Function

D excerpt include
pageIFMISMATCHED Function
nopaneltrue


Parsing functions

These functions can be used to parse String values against a specific data type.

FunctionDescription
PARSEINT Function

D excerpt include
pagePARSEINT Function
nopaneltrue

PARSEFLOAT Function

D excerpt include
pagePARSEFLOAT Function
nopaneltrue

PARSEBOOL Function

D excerpt include
pagePARSEBOOL Function
nopaneltrue

PARSEDATE Function

D excerpt include
pagePARSEDATE Function
nopaneltrue

PARSEARRAY Function

D excerpt include
pagePARSEARRAY Function
nopaneltrue

PARSEOBJECT Function

D excerpt include
pagePARSEOBJECT Function
nopaneltrue

PARSESTRING Function

D excerpt include
pagePARSESTRING Function
nopaneltrue

Managing null and empty values

These functions allow you to generate or test for missing or null values.

FunctionDescription
ISNULL Function

D excerpt include
pageISNULL Function
nopaneltrue

NULL Function

D excerpt include
pageNULL Function
nopaneltrue

IFNULL Function

D excerpt include
pageIFNULL Function
nopaneltrue

ISMISSING Function

D excerpt include
pageISMISSING Function
nopaneltrue

IFMISSING Function

D excerpt include
pageIFMISSING Function
nopaneltrue

Type Conversions on Export

...