getMap | R Documentation |
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, ...)
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 |
a standard sf map
## Not run:
map = getMap("NHSER20")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.