Skip to content

README example load_dataset(<remote datapackage>) returns 'Invalid Dataset' #16

Description

@roll

README example load_dataset(<remote Frictionless datapackage>) returns "Invalid Dataset".

Environment

  • fairspec 0.1.4 (installed from PyPI)
  • Python 3.12.3, Linux
  • Reproduced in a clean virtualenv against the published wheel.

Repro (verbatim from README.md)

from fairspec import load_dataset
dataset = load_dataset(
    "https://raw.githubusercontent.com/roll/currency-codes/refs/heads/master/datapackage.json"
)

Actual

FairspecException: Invalid Dataset

The URL is reachable (verified: the descriptor downloads, ~2 KB), so this is a validation/compatibility failure, not a network issue. The README presents this as a working "load a dataset from a remote descriptor" example.

Expected: the documented example loads the dataset, or the README is updated to a descriptor that load_dataset accepts. If Frictionless datapackage.json descriptors are intentionally unsupported, a clearer error and a doc note would help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions