This is a helper function for various summary functions.

showMetadataItem(
  object,
  name,
  label = "",
  postlabel = "",
  isdate = FALSE,
  quote = FALSE
)

Arguments

object

an oce object.

name

name of item

label

label to print before item

postlabel

label to print after item

isdate

boolean indicating whether the item is a time

quote

boolean indicating whether to enclose the item in quotes

Examples

library(oce) data(ctd) showMetadataItem(ctd, "ship", "ship")
#> * shipDivcom3