Islandora 7.x utility module to generate a CSV file of the metadata used in a collection. To generate a CSV file, a user does the following:
The list only contains rows for objects that are direct children of the current collection, and the columns in the CSV file are filtered to those Solr fields that have at least one value in the collection:
Values of multivalued fields are subdelimited by commas.
You can also generate a CSV using Drush:
drush islandora-get-csv-get-csv --collection_pid=islandora:sp_basic_image_collection --output_file=/tmp/output.csv
To include objects in subcollections of this collection, use the --include_descendants
option:
drush islandora-get-csv-get-csv --collection_pid=islandora:sp_basic_image_collection --include_descendants --output_file=/tmp/output.csv
git clone https://github.com/mjordan/islandora_get_csv.git
drush en -y islandora_get_csv
or enable it at Admin > Modules.Admin settings are at admin/islandora/tools/islandora_get_csv
. Most of these settings can be overridden when the user generates their CSV.
Note the options in "CSV file management settings". By default, all CSV files generated by this module are deleted automatically after 48 hours (specifically, a minimum of 48 hours depending on how often your site's cron runs). You may want to adjust how long files remain before being removed.
Users need the 'Manage collection policies' permission to see the "Generate CSV file of metadata used in this collection" link and generate a CSV file.