Skip to contents

This function generates an interactive figure that shows the area in which CALCOFI spring season net samples were located.

Usage

calcofi_map(
  geo =
    "https://raw.githubusercontent.com/marinebon/calcofi-analysis/master/data/plys_cinms.geojson",
  filter_str = "ply_code != \"SoCal\"",
  colors = c("red", "yellow")
)

Arguments

geo

A geojson object that defines the polygons to be mapped.

filter_str

A string used to filter in (or out) particular polygons.

colors

A string vector that defines the colors of the mapped polygons.

Value

The output is an interactive map of CALCOFI sites overlaid on a coastal map of Southern California.

Examples

if (FALSE) { # \dontrun{
calcofi_map()
} # }