Profiler Object:Result Codes: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
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 27: Line 27:
{| class="mw-collapsible mw-collapsed" style="width:100%;"
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
|- align="left"
! style="color:black;"|[[Profiler Object:Column-Based Statistics|Column-Based Statistics]]
! style="color:black; text-align:left;"|[[Profiler Object:Column-Based Statistics|Column-Based Statistics]]
|-
|-
|[[Profiler Object:Column-Based String Statistics|Column-Based String Statistics]]
|[[Profiler Object:Column-Based String Statistics|Column-Based String Statistics]]
Line 52: Line 52:
{| class="mw-collapsible mw-collapsed" style="width:100%;"
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
|- align="left"
! style="color:black;"|[[Profiler Object:Iterators|Iterators]]
! style="color:black; text-align:left;"|[[Profiler Object:Iterators|Iterators]]
|-
|-
|[[Profiler Object:Column-Based Value Frequency Table Iteration|Column-Based Value Frequency Table Iteration]]
|[[Profiler Object:Column-Based Value Frequency Table Iteration|Column-Based Value Frequency Table Iteration]]
Line 73: Line 73:
{| class="mw-collapsible" style="width:100%;"
{| class="mw-collapsible" style="width:100%;"
|- align="left"
|- align="left"
! style="color:black;"|[[Profiler Object:Result Codes|Result Codes]]
! style="color:black; text-align:left;"|[[Profiler Object:Result Codes|Result Codes]]
|-
|-
|[[Returned Result Codes:APIs#Profiler Object|Returned Result Codes]]
|[[Returned Result Codes:APIs#Profiler Object|Returned Result Codes]]

Revision as of 18:55, 2 February 2015

← Profiler Object Reference

Profiler Object Interface Navigation
Initialization
Object Information
Enumeration Listing and Parsing
Column Specification
Initiate Profiling
Data Input
Profiling
Table-Based Statistics
Column-Based Statistics
Column-Based String Statistics
Column-Based Numeric Statistics
Column-Based Date/Time Statistics
Column-Based Name Statistics
Column-Based State/Province Statistics
Column-Based Zip/Postal Code Statistics
Column-Based Country Statistics
Column-Based Email Statistics
Column-Based Phone Statistics
Iterators
Column-Based Value Frequency Table Iteration
Column-Based Value Length Frequency Table Iteration
Column-Based Value Pattern Table Iteration
Column-Based Value Date/Time Table Iteration
Column-Based Value SoundEx Table Iteration
Column-Based Word Table Iteration
Column-Based Word Length Table Iteration
Result Codes
Returned Result Codes
Result Codes


Result Code Use

Melissa Data's products use a result code system to indicate data quality; the status and any errors. These result codes are four-character codes (two letters followed by two numbers), delimited by commas. Unlike other Melissa Data products, result codes in the Profiler Object are Column Specific. Currently, there are close to 50 possible results codes for Profiler Object alone.

Example

An example returned result code string:

QS17, QS40

Instead of looking at multiple properties and methods to determine status, you can look at the output of the results parameter.

From this output you can determine that the column is:

Code Short Description Long Description
QS17 Value contains trailing spaces.
QS40 Zip/Postal Code value has 5-digit ZIP with no Plus 4.

Be sure to reference Result Codes for a list of Melissa Data's result codes.

Understanding the Code

To fully understand result codes, you need to know them. Knowing what codes are possible and what they indicate will be key in building an effective application. It is useful to know all the codes, but this does not necessarily mean you will use them all. Just because you have a toolbox, doesn't mean you will also try to use a screwdriver along with a hammer on a nail.

Results Codes Will Change. Code for It

Melissa Data is always innovating and adding new information and enrichments. You will not be able to know exactly what new codes may be introduced in the future, but we can still account for them. Always use the string.Contains() or an equivalent function when detecting for codes, so reordering and future additions will not affect your current code. Also, have all records that do not pass your filter become a “bad” record. This allows for future codes to be added without records being lost if you don't specifically filter for them.