getwikicoords: getwikicoords function

View source: R/getwikicoords.R

getwikicoordsR Documentation

getwikicoords function

Description

A function to return the lat/lon coordinates of towns in the UK from Wikipedia. Does not always work. Sometimes the county has to be specified too.

Usage

getwikicoords(place, county = NULL, rmslash = TRUE)

Arguments

place

character, ther name of the town

county

character, the county it is in

rmslash

remove slash from place name. Not normally used.

Value

The lat/lon coordinates from Wikipedia


miscFuncs documentation built on April 3, 2025, 6:04 p.m.