download education plans to vary text

Author

Mr. X

1 Notes

2 global variables

Define your global variables if needed:

check_robotxt = TRUE # check if it is allowed to scrap web page

3 load packages

# sets the directory of location of this script as the current directory
# setwd(dirname(rstudioapi::getSourceEditorContext()$path))

### load packages
require(pacman)
p_load('qdapRegex', 'rvest', 'rSHAPE', 'httr',
       'tidyverse',
       'robotstxt', 
       'xml2',
       'xlsx', 'DT')