Description Usage Arguments Value Examples
Returns an empty string where no match is found. The match is performed with a look ahead to match address number patterns that are not a postcode.
1 | find_buildings_numbers(string, locale = "GBR", collapse = "|", unlist = TRUE)
|
string |
Input vector. Either a character vector, or something coercible to one (e.g. a data frame). |
locale |
A string, the country code in format ISO 3. Default is "GBR". |
collapse |
A character string separator used to collapse the matches. |
unlist |
A boolean. |
A character vector of the contatenated values, with the same length as the input character vector.
1 2 3 4 | string <- "The quick brown fox's family lives at 22A-22B Bridge Road, N17 0RN."
find_buildings_numbers(string)
find_buildings_numbers(businesses, unlist = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.