T_02_01_01

Author

Silvie Cinková

Published

July 24, 2025

1 Read a file from the web

  1. Load the readr library (install it if it is not installed yet).

  2. Manually inspect this URL: https://raw.githubusercontent.com/open-numbers/ddf–gapminder–systema_globalis/refs/heads/master/multidimensional/ddf–datapoints–literacy_rate_youth–by–geo–gender–time.csv.

  3. Look up the help pages for the readr function read_delim and store this table in a variable using this function.

  4. Save the content of this variable to a file named gapminder_literacy_rate_youth–by–geo–gender–time.tsv (and make it a real tsv file) using any function you find suitable.

  5. Save your script as File <YOURLOGIN>_E02_01_01.qmd in the folder my_exercise_scripts directly in the R_BEGINNERS_SHORT folder. If this folder does not exist, create it by using the dir.create function. Use this exercise to play with the typography a bit. You can pretend it is an expert technical report on scraping data from Gapminder’s repositories.