User:BluePenguin18/Random article sampler

After downloading the packages rvest and xml2 using the install.packages function, use this R code to generate a .csv file with the columns Name (containing the links to randomly sampled articles), Size (in bytes), and Date (of their creation). Use setwd("") to set the desired file path for saving this data. In the for loop, changing the 1:1000 parameter to 1:X sets how many articles will be randomly sampled.