I'm trying to download this dataset from github in a colab R notebook.
I've tried using the magic !git clone https://github.com/guyz/twitter-sentiment-dataset.git but it does not work with an R notebook.
Are there any other possibilities to retrieve the dataset?
You can run the following R code to download the file in your colab environment (the file is specified with its URL):
install.packages("R.utils")
library("R.utils")
download.file("https://raw.githubusercontent.com/guyz/twitter-sentiment-dataset/master/corpus.csv",
"corpus.csv.gz")
gunzip('corpus.csv.gz')
After these instructions you will have the file corpus.csv containing the dataset.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With