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 anhttps:source to a remotedatapackage.jsonor agithub:/gh:pointing to a repo with adatapackage.jsonin the repo root (in the formatgh:org/repo, which can also include reference to a tag or branch, such asgh:org/repo@mainorgh: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.