Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Extract relators from a single CSV column #13

Open
xurizaemon opened this issue May 20, 2019 · 1 comment
Open

Extract relators from a single CSV column #13

xurizaemon opened this issue May 20, 2019 · 1 comment

Comments

@xurizaemon
Copy link

Rather than having a single column fixed to Photographer, support column which nests DSV (pht=Marti Friedlander|dpt=Ralph Hotere) inside the CSV.

The migration can then expand this and pass the extracted values as rel_type and target_name to entity_generate for conversion to a target_id.

There are issues with "CSV-in-CSV" but this is a flexible way to extend the existing CSV to support much wider range of relators (without adding a new column and modifying yml for each new rel_type.

WIP @ https://github.com/xurizaemon/migrate_islandora_csv/tree/relators

@xurizaemon
Copy link
Author

Currently using a process plugin to handle this extraction, but I think this might be do-able in yaml, hoping to come back to that.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant