new_recordset_df: Internal constructor for recordset_df

View source: R/recordset_df.R

new_recordset_dfR Documentation

Internal constructor for recordset_df

Description

Low-level constructor for recordset_df objects.

This function extends an existing dataset_df with lightweight Record Set semantics by:

  • assigning the recordset_df class;

  • optionally assigning a Record Set identifier and provenance;

  • optionally declaring Record and Record Part identifier columns as rico:Identifier using dataset::defined().

Unlike recordset_df(), this constructor assumes that dataset-level metadata have already been created and performs no coercion from ordinary data.frame objects.

Usage

new_recordset_df(x, record_identifier = NULL, record_part_identifier = NULL)

Arguments

x

A dataset_df object.

record_identifier

Optional name of the column containing Record identifiers.

record_part_identifier

Optional name of the column containing Record Part identifiers.

Value

A recordset_df object inheriting from dataset_df.


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