geocode(x, extent, lang = gsub("(_|[:]).*","", Sys.getenv('LANGUAGE')))
Arguments
x: Vector of character strings to search for
extent: Currently unused. an Extent object, or any object from which an Extent can be obtained.
lang: Language for place names in result.
Returns
A SpatialPointsDataFrame with coordinates in the projection of extent if possible, or long-lat otherwise.
Details
If the option getOption('mapmiscCachePath') is set, it will be used to specify the folder to save downloaded data. getOption('mapmiscVerbose') for printing progress.