Skip to content

Fix resource.path to be spec-compliant #758

@dsmedia

Description

@dsmedia

The datapackage.json uses non-standard paths that fail validation with standard Data Package tools (frictionless-py, frictionless-ts).

Current vs Expected

Field Current Spec-compliant
resource.path airports.csv data/airports.csv

Per the Data Package spec, paths must be relative to the descriptor file. Since datapackage.json is at the repo root and data files live in data/, the path should include the subdirectory.

Blocked

This change will break Altair's URL construction. Backwards-compatible path handling has been raised as an issue.

Blocked by: vega/altair#3946

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions