Skip to content

Commit dc436b3

Browse files
authored
Update README.md
1 parent f81f2b7 commit dc436b3

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ No collections skipped:
3434
offset = 0
3535

3636
#### [addKeyValuePairOnHandleCSV.py](addKeyValuePairOnHandleCSV.py)
37-
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.
37+
Based on user input, adds key-value pairs from 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.
3838

3939
#### [addKeyValuePairToCollection.py](addKeyValuePairToCollection.py)
40-
Based on user input, this script adds a specified key-value pair with a specified language value to every item in the collection with the specified handle.
40+
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
#### [createItemMetadataFromCSV.py](createItemMetadataFromCSV.py)
43-
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 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:
43+
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:
4444

4545
- 'key' - The Dublin Core property to be used for the element.
4646
- 'value' - The column in the specified CSV file that contains the data for the element.
@@ -53,39 +53,39 @@ The 'createMetadataElementDirect' function in the script is used to create a met
5353
- 'language' - The desired language value for the element.
5454

5555
#### [deleteKeyFromCollection.py](deleteKeyFromCollection.py)
56-
Based on user input, this script removes all key-value pairs with the specified key for every item in the collection with the specified handle.
56+
Based on user input, removes all key-value pairs with the specified key for every item in the collection with the specified handle.
5757

5858
#### [deleteBitstreamsFromItem.py](deleteBitstreamsFromItem.py)
59-
Based on user input, this script removes all bitstreams associated with an item with the specified handle.
59+
Based on user input, removes all bitstreams associated with an item with the specified handle.
6060

6161
#### [postCollection.py](postCollection.py)
62-
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.
62+
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.
6363

6464
#### [removeDuplicateKeyValuePairsFromItems.py](removeDuplicateKeyValuePairsFromItems.py)
65-
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.
65+
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.
6666

6767
#### [replaceKey.py](replaceKey.py)
68-
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.
68+
Based on user input, 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.
6969

7070
#### [replaceKeyForCollection.py](replaceKeyForCollection.py)
71-
Based on user input, this script replaces one specified key with another specified key in all item metadata across the specified collection. 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.
71+
Based on user input, replaces one specified key with another specified key in all item metadata across the specified collection. 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.
7272

7373
#### [replaceKeyForCommunity.py](replaceKeyForCommunity.py)
74-
Based on user input, this script replaces one specified key with another specified key in all item metadata across the specified community. 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.
74+
Based on user input, replaces one specified key with another specified key in all item metadata across the specified community. 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.
7575

7676
#### [replaceKeyValuePairOnItemIdCSV.py](replaceKeyValuePairOnItemIdCSV.py)
7777

7878
#### [replaceKeyValuePairsFromCSV.py](replaceKeyValuePairsFromCSV.py)
79-
Based on user input, this scripts updates key-value pairs from the specified CSV file with the columns: 'replacedKey,' 'replacementKey,'replacedValue,' and 'replacementValue.' 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.
79+
Based on user input, updates key-value pairs from the specified CSV file with the columns: 'replacedKey,' 'replacementKey,'replacedValue,' and 'replacementValue.' 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.
8080

8181
#### [replaceUnnecessarySpaces.py](replaceUnnecessarySpaces.py)
82-
Based on user input, this script removes double spaces, triple spaces, and spaces before commas in the values from the specified key in the specified community.
82+
Based on user input, removes double spaces, triple spaces, and spaces before commas in the values from the specified key in the specified community.
8383

8484
#### [repositoryMetadataBackup.py](repositoryMetadataBackup.py)
85-
This scripts creates a folder with a timestamp in the folder name and creates a JSON file for every collection in the repository with the metadata for all of the items in that collection.
85+
Creates a folder with a timestamp in the folder name and creates a JSON file for every collection in the repository with the metadata for all of the items in that collection.
8686

8787
#### [repositoryMetadataRestore.py](repositoryMetadataRestore.py)
88-
Based on user input, this script restores the metadata from a specified backup folder that was created by the repositoryMetadataBackup.py script.
88+
Based on user input, restores the metadata from a specified backup folder that was created by the repositoryMetadataBackup.py script.
8989

9090
#### [updateLanguageTagsForKey.py](updateLanguageTagsForKey.py)
91-
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.
91+
Based on user input, 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)