Layers are assessed directly from the spatialdata.gov.scot catalogue.
get_layer(layer, ask = TRUE, force = FALSE)
the name of the layer. The list of available layers can be
obtained by running available_layers()
Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().
Should you force download the data?
the layer requested
if (FALSE) {
get_layer("local_authorities")
}