I am trying to search a database and then label the ouput with a name derived from the original search, \"derived_name\"
in the reproducible example below. I am
So, I've realized that what I was struggling with in this question (and many other probelms) is not really quasiquotation and/or non-standard evaluation, but rather converting character strings into object names. Here is my new solution:
letrs_top.df <- letrs_count.df %>%
top_n(5, get(count_colname))