view

view(
    source: str = 'datapackage.json',
    style: ViewStyle = ViewStyle.quarto_one_page,
)

Display the contents of a datapackage.json in a human-friendly way.

Parameters

source : str = 'datapackage.json'

The location of a datapackage.json, defaults to a file or folder path. Can also be an https: source to a remote datapackage.json or a github: / gh: pointing to a repo with a datapackage.json in the repo root (in the format gh:org/repo, which can also include reference to a tag or branch, such as gh:org/repo@main or gh:org/repo@1.0.1).

style : ViewStyle = ViewStyle.quarto_one_page

The style used to display the output in the terminal. Must be a single-page style.