rename_fact {starschemar}R 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")


[Package starschemar version 1.2.5 Index]