Get the temporal grain from settings

extract_temporal_grain(settings)

Arguments

settings

list. usually from yaml::read_yaml("settings/setup.yaml")$grain

Value

Character. "year", "month" or "date"