I do like the idea of being able to set the tags programmatically in this manner but I think that the nested aspect of this method may get confusing if a server has a more complex hierarchy of tags. For example, if you have even a third layer this may get confusing:
tags
+-- Fuaada
| +-- Amber
| | +-- Shaquille
| | \-- Kyle
| \-- Abigail
\-- Maegen
+-- Samani
\-- Sarah
+-- Mariah
+-- Tucker
\-- Flor
Would you apply the Shaquille tag like this:
tags(content)$Fuaada$Amber <- "Shaquille"
or
tags(content)$Fuaada$Amber$Shaquille <- TRUE
I think this is pretty confusing. It might be better to make the application of tags to applications not rely on the hierarchical structure. So the "Shaquille" tag would simply be applied like this:
tags(content)$Shaquille <- TRUE
I don't know if this would cause issues with duplication of tags. For example, if there are two "Shaquille" tags, one under the "Amber" tag and another under the "Sarah" tag. I am not sure whether RStudio Connect allows multiple identical tags in different branches of the hierarchy? If it does then some other specification would have to considered - maybe just specifying its parent tag?
Anyway, just my thoughts, curious to hear what you all think!