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.
README example
load_dataset(<remote Frictionless datapackage>)returns "Invalid Dataset".Environment
fairspec0.1.4 (installed from PyPI)Repro (verbatim from
README.md)Actual
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_datasetaccepts. If Frictionlessdatapackage.jsondescriptors are intentionally unsupported, a clearer error and a doc note would help.