Parse apart a tag

parse_q_tag(tag)

Arguments

tag

A single tag to extract from

Value

A named vector indicating the field and entry associated with it.

Examples


tag <- "{quiz, id: quiz_name_here, attempts: 10}"
parse_q_tag(tag)
#> [[1]]
#>                  {quiz, id 
#> "quiz_name_here, attempts" 
#>