Learn R Programming

ggOceanMaps (version 1.1)

load_map_data: Load large shapefile objects

Description

Internal function to load large shapefile objects. Downloads the files if they are not found getOption("ggOceanMaps.datapath")

Usage

load_map_data(x, force = FALSE)

Arguments

x

An object from shapefile_list.

force

Logical indicating whether to download the file even though it exists. Useful when files in the Github repository have been changed. Overwrites the old file.

Value

A list of SpatialPolygonsDataFrames

Details

This is an internal function, which is automatically run by the basemap function. Common users do not need to worry about these details.

See Also

basemap