getMap: Gets maps for which the metadata is known.

View source: R/load-maps.R

getMapR Documentation

Gets maps for which the metadata is known.

Description

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

Value

a standard sf map

Examples

## Not run: 
map = getMap("NHSER20")

## End(Not run)

terminological/arear documentation built on April 27, 2024, 9:02 a.m.