Skip to content

Commit

Permalink
Add dateOfDeath (RPB-102)
Browse files Browse the repository at this point in the history
  • Loading branch information
maipet committed Oct 27, 2023
1 parent 5ca2e52 commit 2bbd7a6
Show file tree
Hide file tree
Showing 40 changed files with 83 additions and 40 deletions.
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00006",
"preferredName" : "Humperdinck, Engelbert / 1854-1921",
"variantName" : [ "Humperdink, Engelbert", "Humperdinck, E.", "Humperdinck, Engelbert" ],
"dateOfBirth" : [ "01.09.1854" ]
"dateOfBirth" : [ "01.09.1854" ],
"dateOfDeath" : [ "27.09.1921" ]

This comment has been minimized.

Copy link
@TobiasNx

TobiasNx Oct 30, 2023

Contributor

Formatierung der Daten muss angepasst werden.
YYYY-MM-DD

Kannst du mit replace_all und Gruppierung machen, ungeführ so:
`replace_all("dateOfBirth","(\d{2})\.\d{2})\.\d{4})","$3-$2-$1")

This comment has been minimized.

Copy link
@TobiasNx

TobiasNx Oct 30, 2023

Contributor

ping @maipet

}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00007",
"preferredName" : "Cornelius, Otto / 1896-1984",
"variantName" : [ "Cornelius, Otto" ],
"dateOfBirth" : [ "14.11.1896" ]
"dateOfBirth" : [ "14.11.1896" ],
"dateOfDeath" : [ "1984" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-10.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk00019",
"id" : "https://lbz.rlp.de/rppd/pk00019",
"preferredName" : "Oppermann, Julius / 1825-1880",
"dateOfBirth" : [ "09.06.1825" ]
"dateOfBirth" : [ "09.06.1825" ],
"dateOfDeath" : [ "01.01.1880" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-11.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00020",
"preferredName" : "Bücker, Carl Clemens / 1895-1976",
"variantName" : [ "Bücker, Carl Clemens" ],
"dateOfBirth" : [ "11.02.1895" ]
"dateOfBirth" : [ "11.02.1895" ],
"dateOfDeath" : [ "03.03.1976" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00021",
"preferredName" : "Anschuez, Carl / 1818-1870",
"variantName" : [ "Anschutz, Carl / 1818-1870", "Anschütz, Karl Friedrich Nikolaus / 1818-1870" ],
"dateOfBirth" : [ "10.01.1818" ]
"dateOfBirth" : [ "10.01.1818" ],
"dateOfDeath" : [ "30.12.1870" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-13.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00022",
"preferredName" : "Anschuez, Joseph Andreas / 1772-1855",
"variantName" : [ "Anschütz, Josef Andreas", "Anschuez, Johann Andreas", "Anschuez, Josef Andreas", "Anschütz, Joseph Andreas", "Anschuetz, Johann Andreas", "Anschuez, J. A.", "Anschütz, J. A.", "Anschütz, Johann Andreas", "Anschuez, Joseph Andreas" ],
"dateOfBirth" : [ "19.03.1772" ]
"dateOfBirth" : [ "19.03.1772" ],
"dateOfDeath" : [ "26.12.1855" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-15.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk00028",
"id" : "https://lbz.rlp.de/rppd/pk00028",
"preferredName" : "Lehnen, Ewald / 1894-1989",
"dateOfBirth" : [ "02.01.1894" ]
"dateOfBirth" : [ "02.01.1894" ],
"dateOfDeath" : [ "Oktober 1989" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-16.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00030",
"preferredName" : "Meister, Simon / 1796-1844",
"variantName" : [ "Meister, Simon" ],
"dateOfBirth" : [ "20.12.1796" ]
"dateOfBirth" : [ "20.12.1796" ],
"dateOfDeath" : [ "29.02.1844" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-17.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00031",
"preferredName" : "Bodewig, Robert / 1857-1923",
"variantName" : [ "Bodewig, Robert / 1857-1923" ],
"dateOfBirth" : [ "01.12.1857" ]
"dateOfBirth" : [ "01.12.1857" ],
"dateOfDeath" : [ "02.12.1923" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-18.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00032",
"preferredName" : "Altgeld, Johann Philipp / 1603-1658",
"variantName" : [ "Altgelt, Johann Philipp" ],
"dateOfBirth" : [ "1603" ]
"dateOfBirth" : [ "1603" ],
"dateOfDeath" : [ "12.12.1658" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pta1481",
"preferredName" : "Zenz, Emil / 1912-1994",
"variantName" : [ "Zenz, Emil" ],
"dateOfBirth" : [ "24.07.1912" ]
"dateOfBirth" : [ "24.07.1912" ],
"dateOfDeath" : [ "03.02.1994" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk00008",
"id" : "https://lbz.rlp.de/rppd/pk00008",
"preferredName" : "Daub, Richard / 1895-1972",
"dateOfBirth" : [ "04.04.1895" ]
"dateOfBirth" : [ "04.04.1895" ],
"dateOfDeath" : [ "23.04.1972" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-20.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pta1482",
"preferredName" : "Zenzen, Wilhelm / 1903-1963",
"variantName" : [ "Zenzen, Eucharius ¬[Ordensname]¬" ],
"dateOfBirth" : [ "17.10.1903" ]
"dateOfBirth" : [ "17.10.1903" ],
"dateOfDeath" : [ "16.04.1963" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-21.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1483",
"id" : "https://lbz.rlp.de/rppd/pta1483",
"preferredName" : "Zettelmeyer, Hubert / 1866-1930",
"dateOfBirth" : [ "08.11.1866" ]
"dateOfBirth" : [ "08.11.1866" ],
"dateOfDeath" : [ "19.06.1930" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-22.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1485",
"id" : "https://lbz.rlp.de/rppd/pta1485",
"preferredName" : "Ziegler, Jakob Anton / 1893-1944",
"dateOfBirth" : [ "15.06.1893" ]
"dateOfBirth" : [ "15.06.1893" ],
"dateOfDeath" : [ "12.05.1944" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-23.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1486",
"id" : "https://lbz.rlp.de/rppd/pta1486",
"preferredName" : "Zill, Egon / 1906-1974",
"dateOfBirth" : [ "26.03.1906" ]
"dateOfBirth" : [ "26.03.1906" ],
"dateOfDeath" : [ "23.10.1974" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-24.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1487",
"id" : "https://lbz.rlp.de/rppd/pta1487",
"preferredName" : "Zillgen, Friedrich Josef / 1806-1870",
"dateOfBirth" : [ "29.08.1806" ]
"dateOfBirth" : [ "29.08.1806" ],
"dateOfDeath" : [ "10.06.1870" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-25.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1488",
"id" : "https://lbz.rlp.de/rppd/pta1488",
"preferredName" : "Zillig, Hermann / 1893-1952",
"dateOfBirth" : [ "21.04.1893" ]
"dateOfBirth" : [ "21.04.1893" ],
"dateOfDeath" : [ "16.10.1952" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-26.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pta1489",
"preferredName" : "Zilliken, Kaspar Josef / 1872-1942",
"variantName" : [ "Zilliken, Kaspar Joseph", "Zilliken, Joseph" ],
"dateOfBirth" : [ "17.09.1872" ]
"dateOfBirth" : [ "17.09.1872" ],
"dateOfDeath" : [ "03.10.1942" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-27.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1491",
"id" : "https://lbz.rlp.de/rppd/pta1491",
"preferredName" : "Zimmer, Franz Nikolaus / 1883-1955",
"dateOfBirth" : [ "28.07.1883" ]
"dateOfBirth" : [ "28.07.1883" ],
"dateOfDeath" : [ "16.05.1955" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pta1492",
"preferredName" : "Zimmer, Josef / 1919-1995",
"variantName" : [ "Zimmer, Jupp" ],
"dateOfBirth" : [ "03.09.1919" ]
"dateOfBirth" : [ "03.09.1919" ],
"dateOfDeath" : [ "20.11.1995" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-29.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1493",
"id" : "https://lbz.rlp.de/rppd/pta1493",
"preferredName" : "Zimmer, Michael Kunibert / 1902-1974",
"dateOfBirth" : [ "05.01.1902" ]
"dateOfBirth" : [ "05.01.1902" ],
"dateOfDeath" : [ "21.12.1974" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00010",
"preferredName" : "Billaudelle, Karl / 1914-2003",
"variantName" : [ "Billaudelle, Karl" ],
"dateOfBirth" : [ "05.11.1914" ]
"dateOfBirth" : [ "05.11.1914" ],
"dateOfDeath" : [ "01.07.2003" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-30.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1495",
"id" : "https://lbz.rlp.de/rppd/pta1495",
"preferredName" : "Zimmermann, Konstantin / 1742-1825",
"dateOfBirth" : [ "27.12.1742" ]
"dateOfBirth" : [ "27.12.1742" ],
"dateOfDeath" : [ "06.05.1825" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-31.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1496",
"id" : "https://lbz.rlp.de/rppd/pta1496",
"preferredName" : "Zirbes, Peter / 1825-1901",
"dateOfBirth" : [ "10.01.1825" ]
"dateOfBirth" : [ "10.01.1825" ],
"dateOfDeath" : [ "14.11.1901" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-32.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pta1497",
"preferredName" : "Zuckermandel, Moses S. / 1836-1917",
"variantName" : [ "Zuckermandel, Moses Samuel / 1836-1917" ],
"dateOfBirth" : [ "24.04.1836" ]
"dateOfBirth" : [ "24.04.1836" ],
"dateOfDeath" : [ "1917" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-33.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1498",
"id" : "https://lbz.rlp.de/rppd/pta1498",
"preferredName" : "Züscher, Peter / 1859-1915",
"dateOfBirth" : [ "03.12.1859" ]
"dateOfBirth" : [ "03.12.1859" ],
"dateOfDeath" : [ "03.06.1915" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-34.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1499",
"id" : "https://lbz.rlp.de/rppd/pta1499",
"preferredName" : "Zunker, Wilhelm / 1895-1951",
"dateOfBirth" : [ "15.03.1895" ]
"dateOfBirth" : [ "15.03.1895" ],
"dateOfDeath" : [ "10.12.1951" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-35.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pta1500",
"id" : "https://lbz.rlp.de/rppd/pta1500",
"preferredName" : "Zweiffel, Karl Hermann / 1800-",
"dateOfBirth" : [ "17.08.1800" ]
"dateOfBirth" : [ "17.08.1800" ],
"dateOfDeath" : [ "unbekannt" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-36.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk02185",
"id" : "https://lbz.rlp.de/rppd/pk02185",
"preferredName" : "Heinen, Norbert M. / 1936-",
"dateOfBirth" : [ "28.11.1936" ]
"dateOfBirth" : [ "28.11.1936" ],
"dateOfDeath" : [ "30.05.2023" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-37.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk05270",
"preferredName" : "Dönges, Klaus / 1935-2023",
"variantName" : [ "Dönges, Klaus", "Dönges, Klaus / 1935-" ],
"dateOfBirth" : [ "25.05.1935" ]
"dateOfBirth" : [ "25.05.1935" ],
"dateOfDeath" : [ "14.04.2023" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-38.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk05621",
"preferredName" : "Weinkauff, Franz / 1823-1892",
"variantName" : [ "Weinkauff, Franciscus / 1823-1892", "Weinkauff, Franz / 1823-1892", "Weinkauff, Franz / 1824-1892" ],
"dateOfBirth" : [ "24.05.1823" ]
"dateOfBirth" : [ "24.05.1823" ],
"dateOfDeath" : [ "11.03.1892" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-39.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk04515",
"preferredName" : "Schneider, Anton / 1899-1973",
"variantName" : [ "Schneider, Anton / Bürgermeister" ],
"dateOfBirth" : [ "12.11.1899" ]
"dateOfBirth" : [ "12.11.1899" ],
"dateOfDeath" : [ "24.06.1973" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-4.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00011",
"preferredName" : "Grün, Willi H. / 1932-2016",
"variantName" : [ "Grün, Willi-Heinz / 1932-2016", "Grün, Willi Heinz / 1932-2016", "Grün, Willi H. / 1932-2016" ],
"dateOfBirth" : [ "10.10.1932" ]
"dateOfBirth" : [ "10.10.1932" ],
"dateOfDeath" : [ "28.09.2016" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-40.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pke0292",
"id" : "https://lbz.rlp.de/rppd/pke0292",
"preferredName" : "Herr-Beck, Maria / 1928-2015",
"dateOfBirth" : [ "08.06.1928" ]
"dateOfBirth" : [ "08.06.1928" ],
"dateOfDeath" : [ "07.10.2015" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-44.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk06675",
"id" : "https://lbz.rlp.de/rppd/pk06675",
"preferredName" : "Alexander, Philipp / 1787-1864",
"dateOfBirth" : [ "1787" ]
"dateOfBirth" : [ "1787" ],
"dateOfDeath" : [ "1864" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00013",
"preferredName" : "Gabele, Anton / 1890-1966",
"variantName" : [ "Gabele, Anton" ],
"dateOfBirth" : [ "28.07.1890" ]
"dateOfBirth" : [ "28.07.1890" ],
"dateOfDeath" : [ "13.08.1966" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"rppdId" : "pk00014",
"id" : "https://lbz.rlp.de/rppd/pk00014",
"preferredName" : "Henninger, Wilhelm Albert / 1912-1995",
"dateOfBirth" : [ "1912" ]
"dateOfBirth" : [ "1912" ],
"dateOfDeath" : [ "1995" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-rppd-lobid-9.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"id" : "https://lbz.rlp.de/rppd/pk00018",
"preferredName" : "Reinirkens, Leonhard / 1924-2008",
"variantName" : [ "Reinirkens, Leonhard" ],
"dateOfBirth" : [ "07.08.1924" ]
"dateOfBirth" : [ "07.08.1924" ],
"dateOfDeath" : [ "23.03.2008" ]
}
6 changes: 5 additions & 1 deletion conf/rppd-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ copy_field("f1np", "dateOfBirth[].$append")
# #1nr (Sterbedatum) -> dateOfDeath
## Kommentar Doku: s. #1np

set_array("dateOfDeath[]")
copy_field("f1nr", "dateOfDeath[].$append")

# -------
# #1ns (Sterbeort (R)) -> placeOfDeath
# Kommentar Doku: s. #1nq
Expand Down Expand Up @@ -112,6 +115,7 @@ retain(
"id",
"preferredName",
"variantName[]",
"dateOfBirth[]"
"dateOfBirth[]",
"dateOfDeath[]"
)

0 comments on commit 2bbd7a6

Please sign in to comment.