full import scripts

This commit is contained in:
rnsrk 2025-02-21 22:26:38 +01:00
parent 4d74913447
commit 34c9b1c0a9
136 changed files with 289629 additions and 10 deletions

View file

@ -39,3 +39,51 @@ If you like to restart the process and delete the database, type:
```bash
python3 goodByeHida.py --production True --buildSchemas True --deleteDatabase True
```
## Import data WissKI
Run skripts in this order:
importMaterials.py
importAdministrator.py
importSource.py
importLiterature.py
importArtist.py
importWorkshops.py
importAdministratorStatus.py
importArtistRelation.py
importMarks.py
importInspectionMarks.py
importInspectionMarkLocation.py
importInspectionMarkRelation.py
importMarkDatingInfo.py
importSourceReference.py
importClient.py
importGoldsmithRelation.py
importOrigin.py
importBirth.py
importDeath.py
importArtifactRelation.py
importNumDation.py
importArtifacts.py
ImportMarkInfo.py
importMarkInformation.py
importArtifactToMarkAssignments.py
## Roadmap
### From XML to database
- [x] Build database schemas from XML files
- [x] Parse HIDA/MIDAS XML files to SQL database
### From database to WissKI
- [x] Importer for material
- [x] Importer for artifacts
- [x] Importer for marks
- [x] Importer for mark information
- [x] Importer for artifact to mark assignments
- [ ] Importer for artists
- [ ] Importer for inspection marks
- [ ] Importer for literature
- [ ] Importer for continuation of the workshop
- [ ] Importer for relation to artist
### Other
- [ ] Reduce redundancy by importing features: first collect features possibilies in own table and then import them in a second step