1

I need to load a CSV dataset directly to R from Kaggle without pre-downloading the CSV file. I found the solution how to unzip a csv file using GET() function from httr package, but for that I need the URL of the download. On Kaggle I can see only the Download button link '.../download', without the exact address to the zipped csv file. Is there any way to get the link to the zipped csv file on Kaggle?

I also found the kaggler package, but it seems working only for my own datasets that are under my account. While I would like to load into R datasets uploaded by other Kaggle users. Is there any way to do it in R?

Here is an example of Kaggle dataset. I would need to load the Placement_Data_Full_Class.csv directly into R.

Maryia Maziuk
  • 33
  • 1
  • 7
  • Check this: https://stackoverflow.com/questions/55272909/read-dataset-from-kaggle – Duck Aug 05 '20 at 16:11
  • Thank you, i cannot find on Kaggle where the URL (https://www.kaggle.com/api/v1/competitions/data/download/10445/train.csv) in GET() function comes from. – Maryia Maziuk Aug 05 '20 at 16:36

0 Answers0