Delete instances of a dimension that are not referenced in the facts.
purge_dimension(db, dim)
db
A star_database object.
star_database
dim
A string, dimension name.
A tibble, dimension table.
tibble