简体   繁体   English

如何确保我的被子数据 package 在目录 UI 视图中默认显示相关信息?

[英]How can I ensure that my Quilt data package displays relevant information by default in the catalog UI view?

When viewing a Quilt data package in the catalog view, how do I ensure that the relevant information and data to my users bubbles up from N-depth of folders/files to the data package landing view?在目录视图中查看被子数据 package时,如何确保向我的用户提供的相关信息和数据从 N 深度的文件夹/文件冒泡到数据 package 登陆视图?

Create a file called quilt_summarize.json [Reference] which is a configuration file that renders one or more data-package elements in both Bucket view and Packages view.创建一个名为quilt_summarize.json [Reference]的文件,它是一个配置文件,可在 Bucket 视图和 Packages 视图中呈现一个或多个数据包元素。 The contents of quilt_summarize.json are a JSON array of files that you wish to preview in the catalog, from any depth in your data package. quilt_summarize.json的内容是一个 JSON 文件数组,您希望从数据 package 的任何深度在目录中预览。 Each file may be represented as a string or, if you wish to provide more configuration, as an object.每个文件都可以表示为一个字符串,或者,如果您希望提供更多配置,则可以表示为 object。 You can preview all sorts of different files out-of-the-box including JSON, CSV, TXT, MD, XLS, XLSX, PARQUET, TSV, visualization libraries (including Vega, Altair, eCharts, and Voila), and iPython notebooks.您可以开箱即用地预览各种不同的文件,包括 JSON、CSV、TXT、MD、XLS、XLSX、PARQUET、TSV、可视化库(包括 Vega、Altair、eCharts 和 Voila)和 iPython 笔记本。

Here's the syntax:这是语法:

// quilt_summarize.json
[
  "file1.json",
  "root_folder/second_level/third_level/file2.csv",
  "notebooks/file3.ipynb"
]

You can also define multi-column outputs:您还可以定义多列输出:

[
  "file1.json",
  [{
    "path": "file2.csv",
    "width": "200px"
  }, {
    "path": "file3.ipynb",
    "title": "Scientific notebook",
    "description": "[See docs](https://docs.com)"
  }]
]

which will render the file file1.json first (and span the whole width of the screen), then the viewport will be split into N columns (based on N-length of the JSON array) in the widths defined in the attributes.这将首先渲染文件file1.json (并跨越屏幕的整个宽度),然后视口将按照属性中定义的宽度分成 N 列(基于 JSON 数组的 N 长度)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修改图形以显示正确的轴信息? - How can I modify my graph so it displays the proper information for the axes? 如何使用Structures包确保Python3中的数组或列表数据类型 - How can I ensure an array or list data type within Python3 using the structures package 从现有文件的大目录中创建被子数据 package 时如何排除一种或多种文件类型 - How to exclude one or more file types when creating a Quilt data package from a large directory of pre-existing files 如何使用Python 2.7找到相关信息并将其拆分为csv表? - How can i found and split the relevant information into a csv table with Python 2.7? 在Django中,如何确保特定用户正在访问视图? - In django, how can I ensure that a specific user is accessing a view? 如果无法从文件中的一行读取相关信息,如何 output “无匹配”? - How to output “No matches” if no relevant information can be read from a line in file? 如何确保我的Python正则表达式输出字典? - How can I ensure that my Python regular expression outputs a dictionary? 如何确保我的按钮不会在tkinter中移动? - How can I ensure that my buttons do not move in tkinter? 如何在 PyQt 中的每个选项卡中分离显示和变量? - How can I separate the displays and variables in each of my tabs in PyQt? 如何将ui表单连接到mysql并使用ui表单插入数据? - How can I connect my ui form to mysql and insert data using the ui form?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM