Description Usage Arguments Value Examples
View source: R/wiki_geometry.R
A helper function to parse Wikipedia-style geographic coordinates.
1 | wiki_geometry(data, delete_coords = T, coordinates)
|
data |
A data frame that contains a column of coordinates from Wikipedia. |
delete_coords |
Boolean value that indicates whether to remove the original coordinates column. |
coordinates |
A character object that contains the name of the column
that contains the coordiantes to parse. If missing, the function will look for
columns named |
Returns a the dataframe passed in the argument data, with columns lat
and lon
appended. By default, the original coordinates
column is deleted.
1 | wiki_table("List_of_metro_systems") %>% wiki_names()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.