
ckanext-dcat_usmetadata
This extension provides a new dataset form for inventory.data.gov. The form is tailored to managing metadata meeting the DCAT-US Schema.
Usage
Dependencies
This module currently depends on the USMetadata app for server-side validation and rendering.
Make sure it is enabled in CKAN’s plugins.
This extension is compatible with these versions of CKAN.
| CKAN version |
Compatibility |
| >=2.9 |
yes |
| >=3.0 |
no |
Installation
Add ckanext-dcat-usmetadata to your requirements.txt, and then pip install
In your CKAN .ini file add dcat_usmetadata to your enabled plugins:
ckan.plugins = [YOUR PLUGINS HERE...] dcat_usmetadata
Commands
publishers-import
This extension adds a new CLI command for importing publishers linked to CKAN
organizations. The list of
publishers
should be exported in a CSV data and it should have the following structure
(note the headers):
“`
organization,publisher,publisher_1,publisher_2,publisher_3,publisher_4,publisher_5
agricultural-marketing-service-department-of-agriculture,Department of Agriculture,Agricultural Marketing Service„„
ars-usda-gov,Department of Agriculture,Agricultural Research Service„„
aphis-usda-gov,Department of Agriculture,Animal and Plant Health Inspection Service„„
risk-management-agency-department-of-agriculture,Department of Agriculture,Departmental Management„„
usda-gov,Department of Agric