Where can I get data?
We encourage lesson writers to use our dataset builder, since it makes creating and importing datasets easy for learners. In lesson notebooks, they only need to insert a dataset ID and the tdm_client module pulls in their dataset automatically.
For this reason, the easiest datasets for writing lessons are those created by our dataset builder that already have dataset IDs. You can also explore example datasets created by others that may fit your lessons.
I have my own data. How do I bring it into the environment.
That's awesome. We love seeing new kinds of data on the platform. To bring it into the environment, you have a few options:
- Upload the data from your local machine (easy for beginners)
- Pull the data in directly using a link (requires a little coding)
- Pull the data in using an API (most advanced yet flexible method)
If you want your data to interface with existing notebooks written by JSTOR, you may want to put it in the right format. Read more here:
I have a link to my data. How can I get it into Jupyter?
This may be possible depending on your data format. You could pull in a file (like a CSV) with the requests module:
url = 'https://example.com/data.csv'
r = requests.get(url, allow_redirects=True)
If you have multiple files, they could be zipped into a single file for the transfer.