Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datamodel consolidation #3

Open
b1rger opened this issue Oct 15, 2024 · 9 comments
Open

Datamodel consolidation #3

b1rger opened this issue Oct 15, 2024 · 9 comments

Comments

@b1rger
Copy link
Collaborator

b1rger commented Oct 15, 2024

Existing data is spread over the following types (*.json files):

  • agencies
  • agencyoccupations
  • agencypeople
  • documents
  • employers
  • images
  • institutions
  • inventories
  • memberships
  • newspapers
  • parties
  • photographers
  • specialareas
@b1rger
Copy link
Collaborator Author

b1rger commented Oct 24, 2024

agencies -> Institution, addresses as separate entity connected through hasAddress
agencypeople -> Person
inventories -> Institution
memberships -> Institution
parties -> Institution
photographers -> Person
specialareas -> ??

+ MongoDbModel containing the original data as a json field + GenericForeignKey to the instance

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

agencyoccupations -> ignore; those list 6 "types of occupation", only two of which are referenced in the other json files (each once)

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

documents: some document instances can be connected to photographers through the oid (but not all)

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

employer -> those are simply the labels for the oids that are used in the photographers.json for the professionlist

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

fields -> lists the labels for the oids that are used in in the photographers.json in the additionalFields list

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

images -> referenced by documents.json and photographers.json

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

institutions -> lists the labels for the oids that are used in the photographers.json in the educationlist/institution field

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

inventories -> lists the labels for the oids that are used in the photographers.json in the inventorylist list

@b1rger
Copy link
Collaborator Author

b1rger commented Nov 11, 2024

newspapers -> only 5 entries, only one is referenced at two places in images.json and three places in photographers.json; ignore the file for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant