0

I would like to download a zipped dataset from Kaggle, using R and rvest package.

I could not figure out how to login to Kaggle website and download the file linked here: https://www.kaggle.com/retailrocket/ecommerce-dataset/downloads/retailrocket-recommender-system-dataset.zip

Other solutions including RCurl and rselenium did not work for me.

mifek
  • 41
  • 2

1 Answers1

1

If you're looking to download Kaggle datasets programatically your best bet is probably to use the API rather than scraping.

It is in Python but you can use it as a command line tool. (RStudio has a built in terminal you can use to run the commands.)

Rachael Tatman
  • 841
  • 7
  • 6