Description Usage Arguments Value Examples
postal_expand Converts messy real-world addresses into normalized equivalents suitable for search indexing, hashing, etc.
1 | postal_expand(adr, libpostal_path = "~/libpostal/src/")
|
adr |
string |
libpostal_path |
path to libpostal (default : ~/libpostal/src/) |
Adresses expansions
1 2 3 4 5 6 7 8 9 10 | adr1 <- "Quatre vignt douze Ave des Champs-<c3><89>lys<c3><a9>es"
adr2 <- "sept rue des freres lumiere, Rueil-Malmaison"
postal_expand(adr1)
#$`Quatre vignt douze Ave des Champs-<c3><89>lys<c3><a9>es.expansions`
#[1] "92 avenue des champs-elysees"
#[2] "92 avenue des champs elysees"
#[3] "92 avenue des champselysees"
postal_expand(c(adr1,adr2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.