getdkan/dkanclassic_import

Import data and content from DKAN Classic via CSVs exported using GetDKAN/dkan_export.

Installs: 177

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 21

Forks: 0

Open Issues: 0

Type:drupal-module

dev-master 2020-11-19 17:59 UTC

This package is auto-updated.

Last update: 2024-10-20 03:14:37 UTC


README

Import data and content exported using dkan_export to a DKAN 2 install.

Installation

Requirements

  • Full installation of DKAN 2.
  • Dependencies:
    • drupal/migrate_plus
    • drupal/migrate_tools
    • drupal/migrate_source_csv

Install Composer

Inside your DKAN 2 powered Drupal site, add dkanclassic_import using composer:

$ composer require "getdkan/dkanclassic_import"

Usage

Import Data

Imports leverage CSV files and Drupal migrations. The module currently support the following Data imports:

Users

After getting a users CSV file export (instructions here). Save all users currently available on on a DKAN Classic site and uuids of datasets that they authored.

$ drush mim --update dkanclassic_users

Notes:

  • Make sure you harvested/imported any datasets prior to importing the users.