I feel like this should be simple, but I can't figure it out.
I want to be able to pass an object to a function, use the object for some operations, and get the named value of the object to name output with glue strings.
Something like
get_name <- function(df){
# some expression here....
df_name <-
return(df_name)
}
get_name(faithful)
should return "faithful"
I'm guessing this isn't strictly under the tidyeval scope, I just don't have the vocabulary to describe it otherwise!