Learn R Programming

CCAMLRGIS (version 3.0.4)

load_ASDs: Load CCAMLR statistical Areas, Subareas and Divisions

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_ASDs()

Arguments

See Also

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

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
#When online:
ASDs=load_ASDs()
plot(ASDs)

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

# }

Run the code above in your browser using DataLab