Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example code to download a dataset to the data card #117

Open
hagenw opened this issue Nov 11, 2024 · 0 comments
Open

Add example code to download a dataset to the data card #117

hagenw opened this issue Nov 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hagenw
Copy link
Member

hagenw commented Nov 11, 2024

It might be convinient to have the line of code needed to download a dataset included on the data card.

E.g. for emodb v1.4.1, the code would look like this:

db = audb.load("emodb", version="1.4.1")

At the moment, a user would need to copy and paste the title and version of a dataset in two steps in order to write the command in the command line. That would be improved by adding example code.

I would locate the example code before or directly after the dataset overview table on the data card.

@hagenw hagenw added the enhancement New feature or request label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant