Skip to content

Commit 6ed2733

Browse files
authored
Update README.md
1 parent 9109b76 commit 6ed2733

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ Based on user input, adds key-value pairs from a specified CSV file of DSpace it
4040
Based on user input, adds a specified key-value pair with a specified language value to every item in the collection with the specified handle.
4141

4242
#### [addKeyValuePairToCommunity.py](addKeyValuePairToCommunity.py)
43+
Based on user input, adds a specified key-value pair with a specified language value to every item in every collection in the community with the specified handle.
4344

4445
#### [addNewItemsToCollection.py](addNewItemsToCollection.py)
46+
Based on user input, adds new items to the specified collection. In the specified directory, the script creates items and associated metadata based on a 'metadataNewFiles.json' file in the directory. The script then posts files for the appropriate items, which is determined by having the file name (minus the file extension) in a 'dc.identifier.other' field in the item metadata record.
4547

4648
#### [createItemMetadataFromCSV.py](createItemMetadataFromCSV.py)
4749
Based on user input, creates a JSON file of metadata that can be added to a DSpace item from the specified CSV file or from values directly specified in the script. The 'createMetadataElementCSV' function in the script is used to create a metadata element from the specified CSV file and has three variables:
@@ -71,7 +73,7 @@ Based on user input, removes all key-value pairs with the specified key for ever
7173
#### [overwriteExistingMetadata.py](overwriteExistingMetadata.py)
7274

7375
#### [postCollection.py](postCollection.py)
74-
Based on user input, creates a collection with a specified name within the specified 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.
76+
Based on user input, creates a collection with a specified name within the specified community. In the specified directory, 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.
7577

7678
#### [removeDuplicateKeyValuePairsFromItems.py](removeDuplicateKeyValuePairsFromItems.py)
7779
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.

0 commit comments

Comments
 (0)