new_fact_table: 'fact_table' S3 class

View source: R/geomultistar.R

new_fact_tableR Documentation

fact_table S3 class

Description

Internal low-level constructor that creates new objects with the correct structure.

Usage

new_fact_table(
  ft = tibble::tibble(),
  name = NULL,
  measures = NULL,
  agg_functions = NULL,
  nrow_agg = NULL
)

Arguments

ft

A tibble, contains the fact table.

name

A string, name of the fact.

measures

A vector of measurement names.

agg_functions

A vector of aggregation function names.

nrow_agg

A string, measurement name for the number of rows aggregated.

Value

A fact_table object.


josesamos/starschemar documentation built on Jan. 26, 2024, 2:03 p.m.