collapse_block: Collapses blocks: calibration, physicalSample, hasResolution,...

View source: R/timeseries_collapse.R

collapse_blockR Documentation

Collapses blocks: calibration, physicalSample, hasResolution, These follow the regex format of "<key1>_<key2>" match[[1]][[1]] = full key with underscore and index (ex. "physicalSample_tableName") match[[1]][[2]] = first key (ex. "physicalSample") match[[1]][[3]] = second key (ex. "tableName")

Description

Collapses blocks: calibration, physicalSample, hasResolution, These follow the regex format of "<key1>_<key2>" match[[1]][[1]] = full key with underscore and index (ex. "physicalSample_tableName") match[[1]][[2]] = first key (ex. "physicalSample") match[[1]][[3]] = second key (ex. "tableName")

Usage

collapse_block(entry, l, key, pc)

Arguments

entry

Time series entry

l

Metadata (to append to)

key

Key from time series entry

pc

paleo or chron? #deprecated

Value

l: Metadata


nickmckay/lipdR documentation built on April 13, 2025, 5:58 p.m.