View source: R/geocode_cities.R
geocode_cities | R Documentation |
This function will try to find the best match in case of mispelling. A warning message will be generated indicating the city that has been chosen in case of doubt. This function is much more permissive to mispelling errors than geocode_cities_cp()
geocode_cities(.data, city_col)
.data |
a dataframe that needs to be updated |
city_col |
column name containing the city name in .data This value will also be used to name the new columns. |
the input data.frame with 3 new columns with a name based on city_col (_lat, _long, _cog) In case of correction proposition, a new colmuns starting with proposition_ is also added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.