USE CASE
tidyverse workflows
dplyr, tidyr, purrr, and readable pipelines — without the assistant defaulting to pandas.
The tidyverse is more than syntax — it is a way of thinking about rectangular data. RCode understands grouping, mutating, pivoting, and nesting the way experienced R users do, including when to reach for data.table or base R instead.
What you can ask
- Fix a grouped mutate that silently drops rows
- Choose between pivot_longer and pivot_wider for a messy export
- Write purrr maps over nested tibbles without list-column confusion
- Translate SPSS-style recodes into dplyr case_when
Example prompt
I have visits nested in patients. For each patient, return the row with the latest visit_date, keeping ties.
RCode returns a complete dplyr pipeline with explicit column types and a note on performance when your dataset is large.