If a map needs to be downloaded as a shapefile then it is stored temporarily. The location of this download directory can be set as option("arear.download.dir" = "~/.)
getMap(mapId, sources = .loadSources(...), codeType = mapId, ...)
- a name of a map
- a list of map sources - see `getOption("arear.mapsources",arear::mapsources)``
- defaults to mapId, the codeType of the map
- passed to .cache, param `nocache=TRUE` to disable caching
a standard sf map
if (FALSE) {
map = getMap("NHSER20")
}