Once the external keys have been possibly replaced, group the rows of facts.
group_facts(db)
db
A star_database object.
star_database