Skip to content

Commit

Permalink
Rename biblioVinoId to schoeneNummer (RPB-37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Oct 25, 2023
1 parent 866e257 commit ff07a7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion conf/output/test-output-70.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "RPB929t112440",
"id" : "https://lobid.org/resources/RPB929t112440",
"biblioVinoId" : "Nr27922",
"schoeneNummer" : "Nr27922",
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"type" : [ "Collection" ],
Expand Down
2 changes: 1 addition & 1 deletion conf/output/test-output-78.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type" : [ "BibliographicResource", "Book" ],
"rpbId" : "RPB929w18032522",
"id" : "https://lobid.org/resources/RPB929w18032522",
"biblioVinoId" : "Nr32522",
"schoeneNummer" : "Nr32522",
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013678171#!",
"type" : [ "Collection" ],
Expand Down
8 changes: 4 additions & 4 deletions conf/rpb-titel-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ prepend("id","https://lobid.org/resources/")

copy_field("f983", "hbzId")

# ------- biblioVinoId -------
# ------- schoeneNummer -------

copy_field("f84_", "biblioVinoId")
replace_all("biblioVinoId", "\\.", "")
copy_field("f84_", "schoeneNummer")
replace_all("schoeneNummer", "\\.", "")

# ------- "inCollection" -------

Expand Down Expand Up @@ -296,6 +296,6 @@ elsif exists ("f709")
end
replace_all("bibliographicCitation","¬","")

retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "biblioVinoId", "bibliographicCitation", "isPartOf[]", "note[]")
retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]")

vacuum()

0 comments on commit ff07a7c

Please sign in to comment.