Summarize the billionaires data

Author

Silvie Cinková

Published

August 3, 2025

1 Libraries and data

library(dplyr)

Attaching package: 'dplyr'
The following objects are masked from 'package:stats':

    filter, lag
The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union
library(readr)
library(ggplot2)
billionaires_df <- read_tsv("~/R_BEGINNERS_SHORT/datasets_ATRIUM/billionaires_combined.tsv")
Rows: 28986 Columns: 21
── Column specification ────────────────────────────────────────────────────────
Delimiter: "\t"
chr (17): person, name.x, state, headquarters, source, industry, gender, las...
dbl  (4): time, daily_income, age, birth_comb

ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

2 Plot the mean daily income in each region over time.

`summarise()` has grouped output by 'world_6region'. You can override using the
`.groups` argument.