In the CDP, apartment and house name lines can be set to line type ‘A’ in the Parser to represent an apartment line. This allows separate storage of street components in the Parser output, such as street name, house number, and apartment or house name information.
Example
In this pattern example, adding "ATT=APT" changes the line type to 'A':
'ALPHA COMPLEX-TYPE ALPHA-1NUMERIC' PATTERN STREET ATT=APT
REC='COMPLEX-NAME COMPLEX-TYPE APT-NUM'
The ‘A’ line identifies the tokens properly and parses them into the appropriate Parser output fields, for example:
- pr_dwelling1_number
- pr_complex1_name_recoded
- pr_complex1_type_recoded
If this pattern had been entered as a street pattern without adding the ATT=APT attribute, the following would have occurred:
Original Data |
Original Street Only Pattern | New Pattern |
---|---|---|
HAWTHORNE COTTAGE B1F | (Z) HAWTHORNE COTTAGE B1F | (A) HAWTHORNE COTTAGE B1F |
10 MAIN STREET | (S) 10 MAIN STREET | (S) 10 MAIN STREET |
where the ‘Z’ line sets all data to IGNORE attributes and no individual storage of the tokens occurs.