R/parse_annotation.R
parse_annotations.Rd
Parse an hierarchical annotation into a data.frame
parse_annotations(notes, pattern = "#+")
a character vector
a length 1 character vector, with the pattern to parse the
annotation. This is passed to stringr::str_split
and
stringr::str_extract_all
. The default value matches 1 or more hashtags (#)
and succesive hashtags indicate the level of the title/code
a list of data.frame
parse_single_annotation