{"version":"1.0","type":"rich","title":"Programming with dplyr","description":"This example demonstrates how to write dplyr functions that handle both character strings and environment variables, comparing older approaches using `*_at`, `across`, and `sym` with the modern curly-curly `{{ }}` syntax. It shows the progression from string-only functions to ones supporting non-standard evaluation, using the starwars dataset to illustrate grouping and summarization. The code highlights that `{{ }}` works with bare column names but requires `sym` for strings, and that `across` handles character vectors but not environment variables.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2a24f30a28ded04fef83d7abb0815f70?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}