subtypeInsertion: Convert from Insertion to Insertion subtypes

View source: R/subtotals-and-headings.R View source: R/subtotals-and-headings.R

subtypeInsertionR Documentation

Convert from Insertion to Insertion subtypes

Description

Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

Usage

subtypeInsertions(inserts)

subtypeInsertion(insert)

subtypeInsertions(inserts)

subtypeInsertion(insert)

Arguments

inserts

an Insertions object for subtypeInsertions

insert

a single Insertion object for subtypeInsertion

Value

an Insertions object with members subtyped for subtypeInsertions or a Subtotal, Heading, or Insertion for subtypeInsertion

an Insertions object with members subtyped for subtypeInsertions or a Subtotal, Heading, or Insertion for subtypeInsertion


crunch documentation built on Aug. 31, 2023, 1:07 a.m.