The 'cran_repo' argument in shelf() was not set, so it will use
cran_repo = 'https://cran.r-project.org' by default.
To avoid this message, set the 'cran_repo' argument to a CRAN
mirror URL (see https://cran.r-project.org/mirrors.html) or set
'quiet = TRUE'.
Warning: package 'gganimate' was built under R version 4.3.1
Warning: package 'gapminder' was built under R version 4.3.1
Warning: package 'ggtext' was built under R version 4.3.1
data <-'data/hdidx-corruption.csv'|>read_csv()
Rows: 55739 Columns: 7
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (3): Entity, Code, Continent
dbl (4): Year, Human Development Index (UNDP), Corruption Perception Index -...
ℹ 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.
data |>head()
# A tibble: 6 × 7
Entity Code Year Human Development Index (U…¹ Corruption Perceptio…²
<chr> <chr> <dbl> <dbl> <dbl>
1 Abkhazia OWID_ABK 2015 NA NA
2 Afghanistan AFG 1980 0.228 NA
3 Afghanistan AFG 1985 0.273 NA
4 Afghanistan AFG 2002 0.373 NA
5 Afghanistan AFG 2003 0.383 NA
6 Afghanistan AFG 2004 0.398 NA
# ℹ abbreviated names: ¹`Human Development Index (UNDP)`,
# ²`Corruption Perception Index - Transparency International (2018)`
# ℹ 2 more variables: `Population (historical estimates)` <dbl>,
# Continent <chr>