Convert a string to a Symbol
Creates a Symbol from a string so it can be injected into quoted code
with !!. Existing Symbol values pass through unchanged.
String): | Symbol The name to
convert.The resulting symbol.
to_symbol("mpg")
to_expr(select(df, !!to_symbol("mpg")))