getdkan/socrata_harvest
Composer 安装命令:
composer require getdkan/socrata_harvest
包简介
Optional DKAN module to harvest from Socrata catalogs.
README 文档
README
This module will fill in required POD values if they are missing when harvesting from a Socrata data catalog. Ideally these values should be replaced with useful information from the data provider.
Install
composer require 'getdkan/socrata_harvest'
drush en socrata_harvest
Harvest
Register the harvest, replace the uri value with the data.json url of your source:
drush dkan:harvest:register '{"identifier":"socrata","extract":{"type":"\\Harvest\\ETL\\Extract\\DataJson","uri":"https://YOUR-SOURCE/data.json"},"transforms":["\\Drupal\\socrata_harvest\\Harvest\\Transform\\Socrata", "\\Drupal\\harvest\\Transform\\ResourceImporter"],"load":{"type":"\\Drupal\\harvest\\Load\\Dataset"}}'
Run the harvest:
drush dkan:harvest:run socrata
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-07-17