Parse an hierarchical annotation into a data.frame

parse_annotations(notes, pattern = "#+")

Arguments

notes

a character vector

pattern

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

Value

a list of data.frame

See also

parse_single_annotation