Profiler Object:Column-Based String Statistics: Difference between revisions
Created page with " ← Profiler Object Reference {| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px solid #aaaaaa; font-size..." |
No edit summary |
||
Line 83: | Line 83: | ||
<div class="toclimit-2">{{CustomTOC}}</div> | <div class="toclimit-2">{{CustomTOC}}</div> | ||
Theses statistics should only be retrieved after calling the '''[[Profiler Object:Profiling#ProfileData|ProfileData]]''' function. These values are all column-specific. String statistics are computed for all column types, including non string-based ones (such as numerics, date/times, etc.) | |||
===Quartiles and Medians=== | |||
A median value is the 'middle' value. That is, if one were to order a list of 100 values from lowest to highest (including duplicate values), the median value is the value of the 50th item. There are two quartile values: first and third. In the previous example, the first quartile would be the 25th value, and the third quartile would be the 75th value. In cases where the total number of records is not evenly divisible, the value closest to the quartile or median point is used. | |||
==GetColumnStringMaxValue== | ==GetColumnStringMaxValue== |
Revision as of 19:09, 8 January 2015
Theses statistics should only be retrieved after calling the ProfileData function. These values are all column-specific. String statistics are computed for all column types, including non string-based ones (such as numerics, date/times, etc.)
Quartiles and Medians
A median value is the 'middle' value. That is, if one were to order a list of 100 values from lowest to highest (including duplicate values), the median value is the value of the 50th item. There are two quartile values: first and third. In the previous example, the first quartile would be the 25th value, and the third quartile would be the 75th value. In cases where the total number of records is not evenly divisible, the value closest to the quartile or median point is used.
GetColumnStringMaxValue
This function returns a column's largest value (as sorted A-Z.)
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column's largest value. |
Syntax | profiler->GetColumnStringMaxValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMaxValue(columnNameStr); |
GetColumnStringMinValue
This function returns a column’s smallest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s smallest value. |
Syntax | profiler->GetColumnStringMinValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMinValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMinValue(columnNameStr); |
GetColumnStringQ1Value
This function returns a column’s first quartile value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s first quartile value |
Syntax | profiler->GetColumnStringQ1Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ1Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ1Value(columnNameStr); |
GetColumnStringMedValue
This function returns a column’s median value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s median value |
Syntax | profiler->GetColumnStringMedValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMedValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMedValue(columnNameStr); |
GetColumnStringQ3Value
This function returns a column’s third quartile value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s third quartile value |
Syntax | profiler->GetColumnStringQ3Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ3Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ3Value(columnNameStr); |
GetColumnStringMaxLength
This function returns the length of a column’s longest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s longest value |
Syntax | profiler->GetColumnStringMaxLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMaxLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMaxLength(columnNameStr); |
GetColumnStringMinLength
This function returns the length of a column’s shortest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s shortest value |
Syntax | profiler->GetColumnStringMinLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMinLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMinLength(columnNameStr); |
GetColumnStringAvgLength
This funciton returns the average length of the column.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the average length of the column’s value |
Syntax | profiler->GetColumnStringAvgLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringAvgLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringAvgLength(columnNameStr); |
GetColumnStringQ1Length
This function returns a column’s first quartile length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the first quartile length |
Syntax | profiler->GetColumnStringQ1Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ1Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ1Length(columnNameStr); |
GetColumnStringMedLength
This function returns a column’s median length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the median length |
Syntax | profiler->GetColumnStringMedLength(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMedLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMedLength(columnNameStr); |
GetColumnStringQ3Length
This function returns a column’s third quartile length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the third quartile length |
Syntax | profiler->GetColumnStringQ3Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ3Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ3Length(columnNameStr); |
GetColumnWordMaxValue
This function returns a column’s largest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s largest word value |
Syntax | profiler->GetColumnWordMaxValue(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMaxValue(columnNameStr); |
GetColumnWordMinValue
This function returns a column’s shortest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s shortest word value |
Syntax | profiler->GetColumnWordMinValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMinValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMinValue(columnNameStr); |
GetColumnWordQ1Value
This function returns a column’s first quartile word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s first quartile word value |
Syntax | profiler->GetColumnWordQ1Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ1Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ1Value(columnNameStr); |
GetColumnWordMedValue
This function returns a column’s median word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s median word value |
Syntax | profiler->GetColumnWordMedValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMedValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMedValue(columnNameStr); |
GetColumnWordQ3Value
This function returns a column’s third quartile word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s third quartile word value |
Syntax | profiler->GetColumnWordQ3Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ3Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ3Value(columnNameStr); |
GetColumnWordMaxLength
This function returns the length of a column’s largest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s largest word value |
Syntax | profiler->GetColumnWordMaxValue(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMaxValue(columnNameStr); |
GetColumnWordMinLength
This function returns the length of a column’s shortest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s shortest word value |
Syntax | profiler->GetColumnWordMinLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMinLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMinLength(columnNameStr); |
GetColumnWordAvgLength
This function returns the average length of a column’s words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the average length of the column’s words |
Syntax | profiler->GetColumnWordAvgLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordAvgLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordAvgLength(columnNameStr); |
GetColumnWordQ1Length
This function returns a column’s first quartile word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the first quartile word length. |
Syntax | profiler->GetColumnWordQ1Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnQ1Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ1Length(ColumnNameStr); |
GetColumnWordMedLength
This function returns a column’s median word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s median word length. |
Syntax | profiler->GetColumnWordMedLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMedLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMedLength(columnNameStr); |
GetColumnWordQ3Length
This function returns a column’s third quartile word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s third quartile word length |
Syntax | profiler->GetColumnWordQ3Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ3Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ3Length(columnNameStr); |
GetColumnMaxWords
This function returns a column’s maximum number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns maximum number of words. |
Syntax | profiler->GetColumnWordMaxWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnMaxWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumMaxWords(columnNameStr); |
GetColumnMinWords
This function returns a column’s minimum number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns minimum number of words. |
Syntax | profiler->GetColumnWordMinWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnMinWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumMinWords(columnNameStr); |
GetColumnAvgWords
This function returns a column’s average number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns average number of words. |
Syntax | profiler->GetColumnWordAvgWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnAvgWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumAvgWords(columnNameStr); |