as_value_key: Standardize contextual semantic mappings

as_value_keyR Documentation

Standardize contextual semantic mappings

Description

Convert contextual semantic mapping carriers into canonical key-value representations suitable for:

Usage

as_value_key(x)

Arguments

x

A semantic mapping carrier:

  • named character vector;

  • named list;

  • two-column data frame or tibble.

Details

  • contextual reconstruction;

  • Record Set projection;

  • workflow annotation;

  • semantic stabilisation;

  • lightweight semantic harmonisation.

@details

as_value_key() standardizes:

  • named vectors;

  • named lists;

  • two-column tibbles or data frames.

Named lists may represent one-to-many contextual mappings, allowing multiple contextual roots to share a semantic grouping.

The resulting object is a named character vector compatible with:

  • prelabel();

  • contextual semantic overlays;

  • refinement workflows;

  • lightweight contextual harmonisation.

Value

A named character vector representing canonical contextual semantic mappings.

See Also

dataset::as_value_key()

Examples


record_sets <- list(
  conceptualisation = c(
    "D:/_package/alpha",
    "D:/_markdown/alpha-methodology"
  ),
  betaR = c(
    "D:/_packages/beta",
    "D:/_packages/prebeta"
  )
)

as_value_key(record_sets)

invert_value_key(record_sets)


fscontext documentation built on Nov. 19, 2026, 5:11 p.m.