Layers are assessed directly from the spatialdata.gov.scot catalogue.

get_layer(layer, ask = TRUE, force = FALSE)

Arguments

layer

the name of the layer. The list of available layers can be obtained by running available_layers()

ask

Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().

force

Should you force download the data?

Value

the layer requested

Examples

if (FALSE) {
get_layer("local_authorities")
}