Skip to content

Latest commit

ย 

History

History
96 lines (65 loc) ยท 3.38 KB

File metadata and controls

96 lines (65 loc) ยท 3.38 KB

๐Ÿณ Dataverse Recipes

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.

Why this repository?

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

Repository Structure

The repository is organized by programming language and tool:

  • python/: ๐Ÿ Python recipes
  • shell/: ๐Ÿš Shell recipes
  • dvcli/: ๐Ÿ› ๏ธ DVCLI recipes
  • js/: ๐ŸŒ JavaScript recipes

Each language directory contains specific recipes organized by functionality or use case.

๐Ÿ“š Available Recipes

In the following sections, you can find a list of available recipes for each language:

Python ๐Ÿ

Shell ๐Ÿš

DVCLI ๐Ÿ› ๏ธ

JavaScript ๐ŸŒ

๐Ÿค Contributing

We welcome contributions! To add a new recipe:

  1. Choose the appropriate language directory for your recipe ๐Ÿ“‚

  2. Create a new directory for your specific recipe โž•

  3. Include the following files:

    • README.md with:
      • 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 โš™๏ธ
  4. Submit your contribution via a Pull Request ๐Ÿš€

โœจ Guidelines

  • 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

Naming conventions

  • 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.js or createDataset.js).
  • Java: Use camel case (e.g. CreateDataset.java).

๐Ÿ’ฌ Support

For issues and questions, please open an issue in this repository or discuss on Zulip! ๐Ÿ™

โšก