starschemar (version 1.2.4)

rename_fact: Rename fact

Description

Set new name for facts.

Usage

rename_fact(st, name)

# S3 method for star_schema rename_fact(st, name)

Value

A star_schema object.

Arguments

st

A star_schema object.

name

A string, new name of the fact.

See Also

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

Examples

Run this code

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

Run the code above in your browser using DataLab