View source: R/match_StreetType.R
match_StreetType | R Documentation |
Find the street type within an address
match_StreetType(address)
address |
A character vector, every string an address. |
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.
cds <- .permitted_street_type_ord()
head(cds)
match_StreetType("712 FLINDERS STREET MELBOURNE 3004")
# 012345678901234
match_StreetType("712 FLINDERS ST MELBOURNE 3004")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.