calcofi_map: Map of CALCOFI sites

View source: R/calcofi.R

calcofi_mapR Documentation

Map of CALCOFI sites

Description

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

## Not run: 
calcofi_map()

## End(Not run)


marinebon/nms4r documentation built on April 23, 2023, 6:09 p.m.