Skip to contents

Abbreviations of street type (e.g., "Ave", "St") are converted to expanded versions (e.g., "Avenue", "Street").

Usage

expand_post_type(x)

Arguments

x

character vector of StreetnamePostType abbreviations

Value

a character vector of the same length containing the expanded street name post type

Examples

expand_post_type(c("ave", "av", "Avenue", "tl"))
#> [1] "avenue" "avenue" "avenue" "trail"