qfes / rdeck

Deck.gl widget for R
https://qfes.github.io/rdeck
MIT License
97 stars 0 forks source link

Add field / column util for explicitly treating an expression as a field #55

Closed anthonynorth closed 2 years ago

anthonynorth commented 2 years ago

Accessors interpret non-symbol expressions as values, not columns. The escape hatch is to convert the expression to a name, which isn't obvious.

Related #54

anthonynorth commented 2 years ago

An alias for rlang::sym() or as.name() adds little value. The lack of clarity was due to poor documentation for tidy-eval in accessor and scale parameter types

https://anthonynorth.github.io/rdeck/reference/accessor.html https://anthonynorth.github.io/rdeck/reference/scale.html