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" = "~/.)
Usage
getMap(mapId, sources = .loadSources(...), codeType = mapId, ...)
Arguments
- mapId
- a name of a map
- sources
- a list of map sources - see `getOption("arear.mapsources",arear::mapsources)“
- codeType
- defaults to mapId, the codeType of the map
- ...
- passed to .cache, param `nocache=TRUE` to disable caching
Examples
if (FALSE) { # \dontrun{
map = getMap("NHSER20")
} # }