Appends one extraction record to a audit_start object. The
function records the declared UKB field IDs, optional dataset name, optional
label, number of fields, and timestamp. It does not validate field
availability against RAP; use ops_fields or
extract_ls separately for project-specific field discovery.
Arguments
- audit
A
ukbflow_auditobject created byaudit_start.- field_id
(integer) UKB field IDs used for extraction.
- dataset
(character or NULL) Optional RAP dataset file name. Default:
NULL.- label
(character or NULL) Optional label for this extraction record. Default:
NULL.
Examples
aud <- audit_start("example_analysis")
aud <- audit_fields(aud, c(31, 53, 21022), label = "core_fields")
