Statistics
To obtain details of matches for the various categories of checks made by Address Cleanse (address matches, de-duplications and suppressions), use the statistics method…
GET https://www.hopewiser.com.au/online-address-cleanse/api/v1/results/statistics?runId=49
Parameter:
| Name |
Description |
Example Value |
| runId |
ID returned by /run |
49 |
Body:
{
"recordCount": integer,
"codingStats": [
{
"name": string,
"description": string,
"count": integer
}
],
"addressUpdateStats": [
{
"name": string,
"description": string,
"count": integer
}
],
"dedupeStats": [
{
"name": string,
"description": string,
"count": integer
}
],
}
Response:
{
"recordCount": 76,
"codingStats": [
{
"name": "Matched",
"description": "A correct address",
"count": 11
},
{
"name": "UnmatchedPremise",
"description": "The premise, e.g. house number, was not found",
"count": 1
},
{
"name": "UnmatchedStreet",
"description": "The thoroughfare, e.g. street, was not found",
"count": 1
},
{
"name": "UnmatchedTown",
"description": "The town was not found",
"count": 62
},
{
"name": "Unmatched",
"description": "No parts of the address could be verified",
"count": 1
}
],
"dedupeStats": [
{
"name": "Unique",
"description": "The record is unique",
"count": 98
},
{
"name": "Parent",
"description": "The first record that is a duplicate based on the level selected",
"count": 1
},
{
"name": "Child",
"description": "The record is a duplicate of a parent record",
"count": 1
}
],
}
The name and description for the codingStats may be one of the following;
| Name |
Description |
| Matched |
A correct address |
| UnmatchedPremise |
The premise, e.g. house number, was not found |
| UnmatchedStreet |
The thoroughfare, e.g. street, was not found |
| UnmatchedTown |
The town was not found |
| Unmatched |
No parts of the address could be verified |
The name and description for the addressUpdateStats may be one of the following;
| Name |
Description |
| RecordCount |
The number of records where the address was updated |
| PostcodeAdded |
The number of records where the postcode was not specified in the input but was added to the output |
| PostcodeUpdated |
The number of records where the postcode was specified in the input but was updated in the output |
| SubpremiseUpdated |
The number of records where the subpremise was either added or updated to the output |
| HouseUpdated |
The number of records where the house was either added or updated to the output |
| StreetUpdated |
The number of records where the street was either added or updated to the output |
| DistrictUpdated |
The number of records where the district was either added or updated to the output |
| Unknown |
Unknown |
The name and description for the dedupeStats may be one of the following;
| Name |
Description |
| Unique |
The record is unique |
| Parent |
The first record that is a duplicate based on the level selected |
| Child |
The record is a duplicate of a parent record |