A collection of code recipes and examples for interacting with Dataverse using different programming languages and tools. This repository serves as a practical resource for developers who need to integrate with Dataverse in their applications.
This repository serves as a collection of examples and recipes for working with Dataverse, covering common topics such as:
- ๐ How to interact with Dataverse APIs
- ๐ Common integration patterns
- โ Best practices for different programming languages
- ๐ก Helpful solutions for typical use cases
The repository is organized by programming language and tool:
python/: ๐ Python recipesshell/: ๐ Shell recipesdvcli/: ๐ ๏ธ DVCLI recipesjs/: ๐ JavaScript recipes
Each language directory contains specific recipes organized by functionality or use case.
In the following sections, you can find a list of available recipes for each language:
- Create datasets from Excel files ๐
- Download Croissant from draft dataset
- Create Croissant from the client side
We welcome contributions! To add a new recipe:
-
Choose the appropriate language directory for your recipe ๐
-
Create a new directory for your specific recipe โ
-
Include the following files:
README.mdwith:- Description of the recipe ๐
- Prerequisites โ๏ธ
- Installation instructions ๐ง
- Usage examples ๐ป
- Dependencies ๐ฆ
- Source code files ๐จโ๐ป
requirements.txt(for Python) or equivalent dependency file ๐- Example configuration files if needed โ๏ธ
-
Submit your contribution via a Pull Request ๐
- Keep recipes focused and well-documented ๐
- Include error handling and best practices ๐ก๏ธ
- Test your code before submitting โ
- Update the main README if adding new categories ๐
- Follow the existing directory structure ๐๏ธ
- Suggest a way to get in touch
- File names should be in lowercase and use underscores to separate words (e.g.
create_dataset.py). - Directory names should be in lowercase and use underscores to separate words (e.g.
create_dataset).
Note: If a language convention requires it, use camel/pascal case, but make sure to align with the existing naming conventions. Exceptions are:
- JavaScript: Use camel/kebab case (e.g.
create-dataset.jsorcreateDataset.js). - Java: Use camel case (e.g.
CreateDataset.java).
For issues and questions, please open an issue in this repository or discuss on Zulip! ๐