Learn R Programming

CCAMLRGIS (version 3.0.4)

load_Coastline: load the full CCAMLR Coastline

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. Note that this coastline expands further north than Coast.

Usage

load_Coastline()

Arguments

See Also

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

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
#When online:
Coastline=load_Coastline()
plot(Coastline)

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

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab