Learn R Programming

CCAMLRGIS (version 3.0.7)

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. See examples for offline use. All layers use the Lambert azimuthal equal-area projection (EPSG:6932; CRS:+proj=laea +lat_0=-90 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs)

Usage

load_SSMUs()

Arguments

See Also

load_ASDs, load_SSRUs, load_RBs, load_MAs, load_Coastline, 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