Converts the remaining text of pm.address to title case and stores
it in a new variable named pm.street.
pm_street_parse(.data, dictionary, ordinal = TRUE, drop = TRUE, locale = "us")
| .data | A |
|---|---|
| dictionary | Optional; a tbl created with |
| ordinal | A logical scalar; if |
| drop | A logical scalar; if |
| locale | A string indicating the country these data represent; the only current option is "us" but this is included to facilitate future expansion. |
A tibble with a new character variable pm.street that contains
the two-letter abbreviation for the given U.S. state. Variables are automatically
re-ordered, so the new vector will not be in the last position of the tibble.
This is typically the last function to be executed before rebuilding and replacing.