Skip to contents

Returns one row per feature that records a concept_id: feature, key, bundle_concept_id, local_concept_id, status (ok, different_id, not_registered_here or id_used_by_other_feature) and detail. With error = TRUE (default) any other status than ok is an error listing them, so a bundle never scores a column that means another feature here. Features without a recorded concept_id are not checked.

Usage

validate_bundle_concepts(bundle, source, error = TRUE)

Arguments

bundle

A model_bundle, a bundle directory, or a feature spec list.

source

A DBI connection, a registry (named vector or list), or a registry JSON file (see stamp_feature_spec_concepts()).

error

Raise an error on a conflict.

Value

A data frame (zero rows when the bundle records no concept ids).