Skip to content

Add catmandu fix import function #698

@TobiasNx

Description

@TobiasNx
# Replace the data in foo.bar with an external file or url
import(foo.bar, JSON, file: "http://foo.com/bar.json", data_path: data.*)

Use case would be building a lobid gnd url in fix, then fetching the JSON-Data as string and then processing it with from_json and only copying the prefLabel.

In order to not break the workflow if no data can be fetched, we also should introduce the maybe bind, see: #699

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions