【问题标题】:CKAN Joining resources and datasetsCKAN 连接资源和数据集
【发布时间】:2018-04-09 18:53:37
【问题描述】:

我正在寻找一种创建/探索/查看新数据集的简单方法。这些数据集只是连接兼容资源之间的内部连接的结果。

以数据集 A 为例:

year, debt
2010, 1000
2011, 900
2012, 800

和数据集 B:

year, earnings
2010, 20000
2011, 18000
2012, 23000

我希望能够探索数据集 A join B:

year, earnings, debt
2010, 1000, 20000
2011, 900, 18000
2012, 800, 23000

我已签入extensions website,但找不到任何东西。

有什么线索吗?

【问题讨论】:

    标签: ckan


    【解决方案1】:

    您可以运行一个连接表的 SQL 查询,方法是将其传递给datastore_search_sql API,此处记录了该 API: http://docs.ckan.org/en/latest/maintaining/datastore.html#ckanext.datastore.logic.action.datastore_search_sql

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-21
      • 1970-01-01
      • 2015-03-18
      • 1970-01-01
      • 2019-07-14
      • 1970-01-01
      • 2010-11-17
      • 1970-01-01
      相关资源
      最近更新 更多