AiTeky Original Interactive Learning & Practice Beginner
The tidyverse: handle tables the way R teams do today
Filter, select, sort, add columns, group and total, join tables and reshape them with dplyr and tidyr, then build a branch report against targets and a telecom churn table.
Most R code written in companies today uses the tidyverse: a family of packages that share one simple way of working with tables. Its two workhorses are dplyr, for picking, adding and totalling, and tidyr, for reshaping. Read any pharma, bank or research team's R code and you will see the same few verbs again and again.
You need R basics first: vectors, data frames and functions. Every box runs R in your browser; the first box that loads a package takes a little longer while R fetches it.
We use an electronics chain's sales, branch targets, exam marks and a telecom company's customers.
- Learn lessons explain one verb at a time, with small exercises you can try again and again.
- Industry ready lessons give you real files and real questions, and the interview questions that go with them.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 25 min Free sample π AiTeky Pass The pipe, filter, select and arrange Load dplyr, chain steps with the pipe |>, keep rows with filter(), keep columns with select() and sort with arrange(), reading each line like a sentence.
- 02 30 min π AiTeky Pass mutate, group_by, summarise and count Add new columns with mutate(), count rows with count(), and total, average and count by group with group_by() and summarise(), the pattern behind almost every business report.
- 03 30 min π AiTeky Pass Join two tables: left_join, inner_join and anti_join Bring columns from a second table into the first with left_join(), keep only matches with inner_join(), find rows with no partner with anti_join(), and catch the duplicate keys that silently add rows.
- 04 25 min π AiTeky Pass Reshape tables: pivot_longer and pivot_wider Turn a wide sheet with one column per subject or month into a long, tidy table with pivot_longer(), total it the usual way, and turn the answer back into a wide report with pivot_wider().
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.
- 05 35 min π AiTeky Pass On the job: a monthly branch report against targets Turn raw bills into the report a retail head reads every month: revenue per branch and month against target, month-on-month change with lag(), each branch's best product with slice_max(), a wide table for the meeting, and the interview questions.
- 06 40 min π AiTeky Pass On the job: who is leaving the telecom company, and why? Profile 3,000 telecom customers with dplyr: churn rate overall and by contract, internet type and payment method, tenure bands with case_when(), a two-way table with pivot_wider(), cancellation reasons, a retention target list, and the interview questions.

