Learn R Programming

CCAMLRGIS (version 3.0.4)

load_SSMUs: Load CCAMLR Small Scale Management Units

Description

Download the up-to-date spatial layer from the online CCAMLRGIS and load it to your environment. The layer's Metadata is accessible by clicking on the red 'i' in the list of layers available on the online CCAMLRGIS. See examples for offline use.

Usage

load_SSMUs()

Arguments

See Also

load_ASDs, load_SSRUs, load_RBs, load_MAs, load_Coastline, load_RefAreas, load_MPAs, load_EEZs.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
#When online:
SSMUs=load_SSMUs()
plot(SSMUs)

#If going offline in the future: load and save as RData when online,
# then reload RData when offline:
SSMUs=load_SSMUs()
EEZs=load_EEZs()
save(list=c('SSMUs','EEZs'), file = file.path(tempdir(), "CCAMLRLayers.RData"))
rm(SSMUs,EEZs)
load(file.path(tempdir(), "CCAMLRLayers.RData"))

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab