Skip to content

support id containing whitespaces #22

@prpfialho

Description

@prpfialho

Hi,

Using the mlcroissant Python library to load a Croissant JSON exported from Dataverse, for instance using pydataverse:
ds = mlcroissant.Dataset(api.get_dataset_export(dset_doi, export_format='croissant').url)

I get the following validation error:
The dataset contains a wrong @id: 'a file name.csv'. Note that currently we do not support @ids containing whitespaces (not even if URL-escaped).

Does it make sense to have an option for Dataverse to automatically fix these errors, for instance upon file upload?

I'm using croissant-0.1.5.jar in a locally installed version of Dataverse 6.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions