Learn R Programming

miscFuncs (version 1.5-9)

getwikicoords: 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)

Value

The lat/lon coordinates from Wikipedia

Arguments

place

character, ther name of the town

county

character, the county it is in

rmslash

remove slash from place name. Not normally used.