Post new subjects to ArchivesSpace¶
Tip
The order you upload agents, top containers, and subjects does not matter, but it is important to upload all new entities before your archival and digital objects.
Tip
For help running scripts, please see Create entity scripts help page.
Steps¶
-
Get a list of the subjects currently in your ArchivesSpace production instance by running getAllSubjectsCSV.py script to create
allSubjects.csv
. The time it takes to run the script will vary based on the number of entities and your internet speed, but in general, allow at least 5 minutes per 1000 entities for GET scripts. -
Use
allSubjects.csv
to determine if any of the subjects in your completedsubject-template.csv
already exist in ArchivesSpace. While you can use any method you are comfortable with to determine if any subjects already exist, I would recommend running mergeTwoCSVs.py to automatically match existing subjects by name. For more instructions on this method, see matching workflow. -
If any subjects already exist, delete their rows from
subject-template.csv
and add their names and URIs toalreadyExistingEntities.csv
. This should leave you with asubject-template.csv
that only contains new subjects. -
Use postSubjects.py to post the subjects remaining in
subject-template.csv
to ArchivesSpace.