Description Usage Arguments Details Value Examples
View source: R/remove_weird_characters.R
remove_weird_characters
Removes certain characters from entries in the address column.
1 | remove_weird_characters(addresses)
|
addresses |
The dataframe column containing the addresses. |
Some characters, like '#', ”, or '.' can throw off Google's API when included in the http request, since they serve specific purposes in dividing the URL. To avoid error, this function removes those special characters.
returns the input dataframe column with special characters replaced by whitespace
1 2 3 4 5 | ## Not run:
remove_weird_characters(as.data.frame("720 Bathurst St #411, Toronto, ON M5S 2R4"))
remove_weird_characters(data['address'])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.