rename_fact: Rename fact

View source: R/star_schema_rename.R

rename_factR Documentation

Rename fact

Description

Set new name for facts.

Usage

rename_fact(st, name)

## S3 method for class 'star_schema'
rename_fact(st, name)

Arguments

st

A star_schema object.

name

A string, new name of the fact.

Value

A star_schema object.

See Also

Other rename functions: get_dimension_attribute_names(), get_measure_names(), rename_dimension(), rename_dimension_attributes(), rename_measures()

Examples


st <- st_mrs_age |> rename_fact("age")


josesamos/starschemar documentation built on May 6, 2024, 5:57 a.m.