Skip to content

Commit b7405f0

Browse files
authored
Update README.md
1 parent 8b2608f commit b7405f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ No collections skipped:
2929
offset = 0
3030

3131
#### [addKeyValuePairOnHandleCSV.py](addKeyValuePairOnHandleCSV.py)
32+
Based on user input, this script uses a specified CSV file of DSpace item handles and the value to be added to that item using the specified key. A CSV log is written with all of the changes made and a 'dc.description.provenance' note describing the change is added to the metadata of each item that is updated.
3233

3334
#### [createItemMetadataFromCSV.py](createItemMetadataFromCSV.py)
34-
Based on user input, this script created a JSON file of metadata that can be POST-ed to a DSpace item from the specified CSV file. The 'createMetadataElement' function in the script is used to create the desired metadata elements based on three variables:
35+
Based on user input, this script created a JSON file of metadata that can be added to a DSpace item from the specified CSV file. The 'createMetadataElement' function in the script is used to create the desired metadata elements based on three variables:
3536
'key' - The Dublin Core property to be used for the element.
3637
'value' - The column in the CSV that contains the data for the element.
3738
'language' - The desired language value for the element
@@ -40,7 +41,7 @@ Based on user input, this script created a JSON file of metadata that can be POS
4041
Based on user input, this script creates a community with a specified name and collection with a specified name within that community. In the specified directory (within the filePath set by the secrets.py file), the script creates items and associated metadata based on a 'collectionMetadata.json' file in the directory. Based on the specified file extension, the script then posts each file in the directory with that extension as a bitstream for the appropriate item, which is determined by having the file name (minus the file extension) in a 'dc.identifier.other' field in the item metadata record.
4142

4243
#### [removeDuplicateKeyValuePairsFromItems.py](removeDuplicateKeyValuePairsFromItems.py)
43-
This script finds all items with duplicate key-value pairs and removes the duplicates. A CSV log is written with all of the items that were edited and a 'dc.description.provenance' note describing the change is added to the item metadata.
44+
This script finds all items with duplicate key-value pairs and removes the duplicates. A CSV log is written with all of the changes made and a 'dc.description.provenance' note describing the change is added to the metadata of each item that is updated.
4445

4546
#### [replaceKey.py](replaceKey.py)
4647
Based on user input, this script replaces one specified key with another specified key in all item metadata across the repository. A CSV log is written with all of the changes made and a 'dc.description.provenance' note describing the change is added to the metadata of each item that is updated.
@@ -58,4 +59,4 @@ This scripts creates a folder with a timestamp in the folder name and creates a
5859
Based on user input, this script restores the metadata from a specified backup folder that was created by the repositoryMetadataBackup.py script.
5960

6061
#### [updateLanguageTagsForKey.py](updateLanguageTagsForKey.py)
61-
Based on user input, this script updates the language value for the specified key to 'en_us' for all items with that key in the repository.
62+
Based on user input, this script updates the language value for the specified key to 'en_us' for all items with that key in the repository. A CSV log is written with all of the changes made and a 'dc.description.provenance' note describing the change is added to the metadata of each item that is updated.

0 commit comments

Comments
 (0)