Create a single address from parsed components.
pm_rebuild(.data, output, new_address, include_commas = FALSE, include_units = TRUE, keep_parsed = "no", side = "right", left_vars, keep_ids = FALSE, locale = "us")
.data | An object with raw and parsed data created by |
---|---|
output | Describes the format of the output address. One of either |
new_address | Optional; name of new variable to store rebuilt address in. If not specified,
the re-build addressed will be stored in |
include_commas | A logical scalar; if |
include_units | A logical scalar; if |
keep_parsed | Character string; if |
side | One of either |
left_vars | A character scalar or vector of variables to place on the left-hand side of
the output when |
keep_ids | 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. |
Re-constructed street addresses will can be either "full"
or "short"
depending
on the output
parameter's argument. Intersections will always be re-constructed in full.