match_StreetType: Find the street type within an address

View source: R/match_StreetType.R

match_StreetTypeR 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")


healthyAddress documentation built on April 12, 2025, 1:28 a.m.