EmilHvitfeldt / textdata

Download, parse, store, and load text datasets instead of storing it in packages
https://emilhvitfeldt.github.io/textdata/
Other
75 stars 13 forks source link

how to download the data outside of R? #28

Closed randomgambit closed 4 years ago

randomgambit commented 4 years ago

Hello and thanks for this great package!

Unfortunately my corporate firewall prevents me from downloading the data from within R (I can download the file manually with the browser).

What should I do to make it work?

Thanks!

EmilHvitfeldt commented 4 years ago

What you can do if you still want to use textdata as normal is to first run your function with the argument return_path = TRUE. This will give you the location textdata expects the downloaded file to placed. Then you just manually download the file and place it in that folder (don't unzip, rename or otherwise change the file). Then run the function like normal and it should work.

randomgambit commented 4 years ago

amazing! thanks. you should document this on your website. Many of us are behind firewalls...

randomgambit commented 4 years ago

@EmilHvitfeldt Actually I did so, but the package still asks me to download the file.

calling library(textadata) again shows a strange message without any actual menu

Enter an item from the menu, or 0 to exit Selection:

What should I do? Thanks!

EmilHvitfeldt commented 4 years ago

Okay, I should have fixed the problem this time.