block_vars: Get variable names in a schema block

View source: R/schema.R

block_varsR Documentation

Get variable names in a schema block

Description

Convenience helper to look up the variables belonging to a named schema block (e.g., "bp", "cbc", "cbc_diff", "bmp", "cmp"). Membership is many-to-many: a variable may appear in multiple blocks.

Usage

block_vars(schema, block)

Arguments

schema

An entity state schema (named list).

block

Block name (character scalar).

Value

Character vector of variable names in the order they appear in schema.


fluxCore documentation built on Sept. 22, 2026, 5:07 p.m.