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 Nov. 2, 2023, 5:21 p.m.