stories_to_yaml.RdWrite a stories tibble to YAML file
stories_to_yaml(sheet_df, file)a dataframe of stories returned by read_stories_only_gsheet() or parse_github_issues().
output
Takes a tibble with the following columns. For example, the tibble returned from either
parse_github_issues() or read_spec_gsheets() (only Option 2 - Stories Only).
if (FALSE) {
# github milestones
MILESTONES <- c("v0.6.0", "v0.6.1")
parse_github_issues(org = "metrumresearchgroup", repo = "mrgvalidatetestreference",
mile = MILESTONES, domain = "github.com") %>%
stories_to_yaml(file = file.path(tempdir(), "temp.yaml")) %>%
file.edit()
# google sheets
read_spec_gsheets(ss_stories = "1LpSX5Rb1XM5-xmQ8Wl2gQjMT5-3FIkuCM7oZhSgvWeI") %>%
stories_to_yaml(file = file.path(tempdir(), "temp.yaml")) %>%
file.edit()
}