Import datasets
FilipH

Hello, I am wondering if there is a way to import a dataset without downloading it. And if that doesn't work, how do you import a dataset into repl.it from a local file?

Thanks in advance

You are viewing a single comment. View All
[deleted]

What language are you using? If you are using JavaScript you can use the fetch function.

[deleted]

@FilipH
The Python requests module can be used to load JSON data from an API endpoint. The following program that I wrote under a different account shows how to use it: https://repl.it/@freddiethefrog/python-wise-sayings

FilipH

I am using Python.

FilipH

@malvoliothegood Thank you very much!

GiridharKaushik

@malvoliothegood the link is not working or is missing