Description Usage Arguments Value Functions Examples
A quick and dirty attempt at geocoding places using Wikipedia.
1 2 3 | geocode_wiki_town(name, wiki = "de", digits = 5, delay = 0.1)
geocode_wiki_towns(names, wiki = "de", digits = 5, delay = 1)
|
name, names |
Name of town as it appears in its Wikipedia URL, e.g. |
wiki |
Identifies Wikipedia language edition, e.g. |
digits |
Round lat/lon to this many decimal places. |
delay |
Delay (in seconds) after Wikipedia call. |
A list containing the name
, latitude
and longitude
of the requested town.
Latitude and longitude are NA
if the attempt failed.
geocode_wiki_towns
: Iterate geocode_wiki_town
over multiple towns
1 2 3 | geocode_wiki_town("Jena")
geocode_wiki_town("Halle_(Saale)") # with underscore
geocode_wiki_town("Nürnberg") # with umlaut
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.