MergeFileDescription#

Description#

Properties#

Name

Type

Description

FileName

string

1..1

Name of the file being merged. May be the name of an active dataframe.

MergeType

string

1..1

Describes the type of merge performed. Valid values include: Sequential, OneToOne, ManyToOne, OneToMany, Cartesian, Unmatched, SASmatchMerge

MergeFlagVariable

string

0..1

Name of a new variable indicating whether the row came from this file or a different input file.

RenameVariables

RenamePair

0..n

Variables to be renamed Constraints: assignable subtypes allowed.

Update

string

1..1

When the same variables exist in more than one dataframe. values in the “Master” dataframe can be replaced by values from a different dataframe. “Master” is the default value. “Ignore” means values in this dataframe are never used. “FillNew” is used on rows not found in the “Master” dataframe. “UpdateMissing” replaces missing values in the “Master” dataframe. “Replace” changes all values in the “Master” dataframe.” Valid values include: Master, Ignore, FillNew, UpdateMissing, Replace

NewRow

boolean

1..1

When TRUE, generate new row when not matched to other files

KeepVariables

VariableReferenceBase

0..n

List of variables to keep Constraints: assignable subtypes allowed.

DropVariables

VariableReferenceBase

0..n

List of variables to drop Constraints: assignable subtypes allowed.

KeepCasesCondition

ExpressionBase

0..1

Logical condition for keeping rows. Constraints: assignable subtypes allowed.

DropCasesCondition

ExpressionBase

0..1

Logical condition for dropping rows. Constraints: assignable subtypes allowed.

MergeByNames

VariableReferenceBase

0..n (Ordered)

An ordered list of variables used as keys in this file to be matched to the variables in the mergeByVariables property of the MergeDatasets command. This property is only used when the key variables in this file have different names than the variable names listed in the MergeDatasets command. Constraints: assignable subtypes allowed.

Software

string

0..1

The software package that works with the file.

FileFormat

string

0..1

The name of a file format Valid values include: csv, txt, dat, xls, xlsx, sav, dta, sas7bdat, rds, rdata

IsCompressed

boolean

0..1

Indicates whether the file format is compressed.

Relationships#

The following identified item types reference this type.

Additional Documentation#