df <- data.frame(
address = c("1600 Pennsylvania Avenue, Washington DC", "", "houston texas"),
stringsAsFactors = FALSE
)
# Server response can be slow; this cuts down check time.
mutate_geocode(df, address)
library(dplyr)
df %>% mutate_geocode(address)
Run the code above in your browser using DataLab