match_StreetType {healthyAddress}R Documentation

Find the street type within an address

Description

Find the street type within an address

Usage

match_StreetType(address)

Arguments

address

A character vector, every string an address.

Value

A list of two elements. The first element are the indices of street type in .permitted_street_type_ord() that is found in the address. The second element are the corresponding string positions of the street so identified.

Examples

cds <- .permitted_street_type_ord()
head(cds)
match_StreetType("712 FLINDERS STREET MELBOURNE 3004")
#                 012345678901234
match_StreetType("712 FLINDERS ST MELBOURNE 3004")


[Package healthyAddress version 0.4.3 Index]