Closed kadowa closed 8 years ago
SELECT id FROM papyri.papyri WHERE rv="Recto u. Verso" AND andere_seite="s. eigenen Datensatz";
# id
80
106
190
279
1035
1078
8440
8655
8766
10802
11359
11393
11429
11585
11878
12143
12750
12779
12967
13113
15035
15042
15638
17215
17220
17467
SELECT id FROM papyri.papyri WHERE rv="Recto" AND andere_seite="Recto frei";
# id
10392
SELECT id FROM papyri.papyri WHERE rv="Verso" AND andere_seite="Verso frei";
# id
10254
11848
14874
14991
17355
SELECT id FROM papyri.papyri WHERE rv="Unbekannt";
# id
191
@kadowa Can this issue now be closed. I think that everything here has been solved by issues:
https://github.com/kadowa/papyri/issues/15 https://github.com/kadowa/papyri/issues/16 https://github.com/kadowa/papyri/issues/17 https://github.com/kadowa/papyri/issues/18
Almost; we also need unique identifiers to do this, so #9 needs to be closed as well.
Ah OK!
TO DO:
and
pages`)front
and back
in papyri
)tables.py
to new db structurerv
, andere_seite
?Procedure for linking back and front page from papyrus table:
fb
and one marked f
or b
: convert fb
to opposite page (and store id for possible future corrections?)fb
: duplicate page, mark original as f
and duplicate as b
@kadowa Lajos Berkes and I were due to have another session after coffee and before lunch today on #31. Is that going to get in your way?
Not at all; I am currently working with a throwaway copy of the database since I can't run the scripts finally until we have unique ids. So I should be the one getting out of the way. ;-)
I am currently exploring the possibility of separating the data into two tables, one for the (physical) papyri, and one for descriptions of their pages (recto and verso – there is no hidden third option, is there? :wink:) which is referenced by the first.
The best chance to do this automatized seems to me to rely on the information in the
rv
andandere_seite
field. If I understand correctly,rv
specifies, wether a record describes recto, verso, or both andandere_seite
indicates, if there is a separate record for the other page or if this page is empty.Here is a survey of all distinct combinations of
rv
andandere_seite
combined with their count in the current database:My observations so far (@jcowey, feel free to add your thoughts):
andere_seite
fields contain actual references to the record describing the page, but most have to be matched via thep_heid_inv
etc., so I suggest we ignore this info.Recto u. Verso, s. eigenen Datensatz
Recto, Recto frei
Verso, Verso frei
I will follow up with a list of ids affected by the last point; they probably require manual correction.