This package enables to learn web scraping in R with interactive tutorials.
remotes::install_github('haukelicht/learn2scrape')
For specific versions (branches), please add the argument ref = '...'
, (e.g., ref = 'dev'
)
To view all tutorials included in the learn2scrape package, call
available_tutorials(package = 'learn2scrape')
This lists all tutorials, mapping tutorial IDs (e.g. '001-tutorial-how-to'), to titles (e.g., 'Interactive learning with `learnr` tutorials').
To launch a tutorial, call
run_tutorial('001-tutorial-how-to' package = 'learn2scrape')
If you are running R using the Rstudio IDE (≥ version 1.3), you can alternatively launch tutorials using the Tutorial panel (see this blog post for instructions).
Please contact Hauke Licht or Theresa Gessler with feedback.
Should you encounter any problems when trying to launch tutorials or run code in a tutorial, please open an Issue on Github at https://github.com/haukelicht/learn2scrape/issues.