chmRegisterGetMetadataFunction: Define and register a Javascript function for obtaining a...

View source: R/functions.R

chmRegisterGetMetadataFunctionR Documentation

Define and register a Javascript function for obtaining a specific metadata value.

Description

This function defines and registers a Javascript function for obtaining a specific metadata value and returning it as a javascript list. The function is suitable for use as an axis type accessor function.

Usage

chmRegisterGetMetadataFunction(functionName, metadataColumnName)

Arguments

functionName

A single character string specifying the name of the function to be registered.

metadataColumnName

A single character string specifying the name of the metadata column to be retrieved by the function.

Value

The registered function.

See Also

chmAddAxisType()

chmGetFunction()

chmListFunctions()


NGCHM documentation built on April 4, 2025, 3:48 a.m.